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 Tue, 2009-10-20 at 15:16 -0700, Sunil Mushran wrote:
> Steve French wrote:
> > On Tue, Oct 20, 2009 at 4:49 PM, Sunil Mushran <sunil.mushran@xxxxxxxxxx> wrote:
> >> Steve French wrote:
> >>> On Tue, Oct 20, 2009 at 4:23 PM, Sunil Mushran <sunil.mushran@xxxxxxxxxx>
> >>> wrote:
> >>>
> >>>> If you are trying to update it, you can use utimensat(2).
> >>>>
> >>> Looks like that should work based on what I see in fs/utimes.c ... but
> >>> I have heard from two that think it doesn't work, so time to test it
> >>> ... (unfortunately
> >>> the libc is not new enough on this system ... ugh).
> >
> > strace shows that touch on my ubuntu system still calls utimesat
> > (touch --version displays v6.10 2008).   What version of touch are you
> > running?
> $ touch --version
> touch (GNU coreutils) 6.10
> 
> I am running the same and it calls utimensat(). Time to look at the source.
> 

Just to confirm that I am running the same version of touch too, version
6.10, looks like it calls utimensat() and sets the nanosecond
timestamps.

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


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