ext4 - getting at birth time (file create time) and getting/setting nanosecond time stamps and utime

Henrik Nordstrom henrik at henriknordstrom.net
Wed Oct 21 19:49:37 MDT 2009

ons 2009-10-21 klockan 10:36 -0500 skrev Steve French:

> 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.

I'd say don't bother. Accept whatever precision the filesystem provides.
If it isn¨t sufficient for the user then ask them to upgrade to a
"better" filesystem.


More information about the samba-technical mailing list