On Wed, Oct 21, 2009 at 10:36:00AM -0500, Steve French wrote: > Yes. I have opened bug 6836 in samba bugzilla to track having smbd > use utimensat (but not sure whether they will be able to detect when > the file system can support nanosecond timestamps through - even with > use of utimensat - so there may be questions about how to do runtime > detection of whether the filesystem is one like ext4, xfs, jfs etc. > that can store such timestamps, if not they probably still have to > store 100 nanosecond "DCE time" granulariy timestamps in xattrs) I think the right way to do it would be to implement a system call for pathconf/fpathconf and add a selector for timestamp granularity. This obviously isn't an instant fix since it's not there already, but I think it's the right long-term interface. We already have the functions available in libc, but currently they don't call into the kernel for anything. If there was a system call and an operation somewhere in the VFS code to call into the individual drivers, then we could export this as well as lots of other useful information. It would also be based on a POSIX standard interface. Brad Boyer flar@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html