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