Re: hi-res mtime userspace interface

2008-01-20 Thread Michael Clark
Stephen Hemminger wrote: Look at stat. Thanks. OK that was what I wanted. I hadn't looked further than man 2 stat - I think the stat man page needs an update. In /usr/include/bits/stat.h: struct stat { __dev_t st_dev; /* Device. */ ... #ifdef __USE_MISC /* Nanoseco

Re: hi-res mtime userspace interface

2008-01-20 Thread Stephen Hemminger
On Sun, 20 Jan 2008 21:09:52 +0800 Michael Clark <[EMAIL PROTECTED]> wrote: > 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 >

hi-res mtime userspace interface

2008-01-20 Thread Michael Clark
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