[EMAIL PROTECTED] (Alton, Matthew) writes:

> I am currently researching methods for implementing the 64-bit
> syscalls stat64(), fstat64(), lseek64() &etc.  delineated in the
> SGI design doc _64 Bit File Access_  by Adam Sweeney.

Do the design docs indicate how inode numbers should interact with
userland APIs?

IIRC, inode numbers are 64-bit numbers in XFS.  Since ino_t, st_ino of
struct stat and d_fileno of struct dirent are only 32 bits, inode
numbers may be truncated and not appear unique to userland.  This
would break the assumptions of some code (e.g. getcwd(3), when not
using the kernel extension).


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to