cvs commit: src/sys/conf NOTES files options src/sys/fs/msdosfs msdosfs_fileno.c msdosfs_vfsops.c msdosfs_vnops.c msdosfsmount.h src/sys/modules/msdosfs Makefile

Tim Robbins tjr at freebsd.org
Sat Jul 3 17:41:06 PDT 2004


On Sat, Jul 03, 2004 at 04:01:27PM -0700, Alfred Perlstein wrote:
> What are the implications of expanding the VFS API to take 64bit
> inodes?

Widening ino_t to 64 bits would change the layout/size of struct stat, so
we'd have to add a new stat() syscall (as well as fstat(), lstat()) and add
compatibility code for binaries that expect the old layout. We'd also have
to sweep through VFS to find the instances where i-numbers are being stored
in wrong types, e.g. struct vattr's va_fileid member uses 'long' instead
of 'ino_t' for some reason. I think it's something that would be best
left until 6-CURRENT.


Tim


More information about the freebsd-fs mailing list