Bug#695640: xfs_quota: cannot find mount point for path: Success

Brian May brian at microcomaustralia.com.au
Tue Dec 11 16:19:44 CST 2012


On 12 December 2012 09:14, Ben Myers <bpm at sgi.com> wrote:

> Looks like that would be print out of fs_table_initialise_projects.
>
>  40 static int
>  41 fs_device_number(
>  42         const char      *name,
>  43         dev_t           *devnum)
>  44 {
>  45         struct stat64   sbuf;
>  46
>  47         if (stat64(name, &sbuf) < 0)
>  48                 return errno;
>                         ^^^^^^^^ here?
>

Yes, I found the same (IIRC) code. However, strace clearly shows the result
of stat64 is 0, and the above is for values less then 0, so this shouldn't
happen...


> Do you have a wonky /etc/projects file or something?
>

Not AFAIK. Has the format or parsing changed?

hq ~ # cat /etc/projects
3:/share/systems
4:/share/cs
5:/share/cas
5:/share/cfcp
6:/share/lgs
#7:/share/csd
8:/share/common
9:/share/summer

-- 
Brian May <brian at microcomaustralia.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20121212/a4a71a22/attachment-0002.htm>


More information about the xfs mailing list