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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux