lkml.org 
[lkml]   [2008]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecthi-res mtime userspace interface
Is there an existing linux userspace interface for accessing the 
microsecond or nanosecond level (a|m|c)times of filesystems that support
them (e.g. ext4, xfs)? and possibly also the generation counters used by
NFS.

I notice sys_utimes is able to set microsecond (c|a|m)times but I can't
find an associated interface to read them (I've googled to no avail).

(also noticing freebsd and darwin's struct stat contains struct timespec
for these as well as an st_gen field - although I do realise how
incredibly difficult it would be to add these to linux's struct stat).

~mc



\
 
 \ /
  Last update: 2008-01-20 14:27    [W:0.048 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site