On Apr 29, 1:23 pm, Erik Larsson <[email protected]> wrote:

>
> AFAIK, 32-bit inode numbers are fine. You only really need 64-bit ones
> if you intend to support >2^32 file system entries.
>
Ok. I assume then that FUSE takes care of the translation from 64 to
32 bit inodes.
I just saw that LFS support in Linux automatically takes in file
serial numbers of 64-bit.
That is why I never had to think about this before.

> > The getattr() returns 0 in case of a successful stat(2) call on "/"
> > which I have no reason to suspect does not succeed. At least the log I
> > have does not indicate such a problem.
>
> I was more interested in what values it filled in. Did you memset the
> struct stat to 0 first?
>

Yes, I realized that 1 second after I pushed the button :)
I do memset the struct stat received in the FUSE call, but I see now
that I do no memset() the struct stat passed to function stat(2) that
is used to populate the cache. That could be a problem if stat(2) does
not guarantee a properly filled in structure.

-- 
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en.

Reply via email to