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

Alfred Perlstein alfred at freebsd.org
Sat Jul 3 19:09:16 PDT 2004


* Tim Robbins <tjr at freebsd.org> [040703 17:41] wrote:
> 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.

Bah, we can do it. :)

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684


More information about the freebsd-fs mailing list