NTFS and file flags

Tim Kientzle kientzle at freebsd.org
Sat Jun 19 04:48:01 GMT 2004


I'm confused.  I've noticed that files on ntfs
mounts can provide 0x800 (IN_HASHED) or 0x8000
(IN_LOADED) in the st_flags field returned from stat(2).

Why?

These bits aren't documented in sys/stat.h and
aren't recognized in any current utility as far as
I can tell.  Is there any reason they should be
exposed to user space?  If they do need to be
exposed to user space, shouldn't they be at least
documented in sys/stat.h?

Tim



More information about the freebsd-hackers mailing list