From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve French Subject: Re: ext4 - getting at birth time (file create time) and getting/setting nanosecond time stamps and utime Date: Tue, 20 Oct 2009 16:56:01 -0500 Message-ID: <524f69650910201456j58e1e3a5offc6d42902e39c07@mail.gmail.com> References: <524f69650910191017j7883ed7bvdb0329d1a73f34e4@mail.gmail.com> <890110E9-FA69-4356-9BEB-925F98487C52@sun.com> <4ADDB09D.5000707@hp.com> <6E5D19DA-64C5-4A44-9DF4-BEF2AA8DD8AB@sun.com> <524f69650910201349w20a3145cm6b88cd4029912b6b@mail.gmail.com> <4ADE24C2.20009@oracle.com> <524f69650910201411j3dc4897bic8a042cb17fcede8@mail.gmail.com> <4ADE2A61.5040505@oracle.com> <524f69650910201437u50838429t8ffbbe737979bc16@mail.gmail.com> <4ADE3066.8020305@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Andreas Dilger , jim owens , linux-fsdevel , samba-technical To: Sunil Mushran Return-path: Received: from mail-pw0-f42.google.com ([209.85.160.42]:54794 "EHLO mail-pw0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751182AbZJTVz4 (ORCPT ); Tue, 20 Oct 2009 17:55:56 -0400 Received: by pwj1 with SMTP id 1so839313pwj.21 for ; Tue, 20 Oct 2009 14:56:01 -0700 (PDT) In-Reply-To: <4ADE3066.8020305@oracle.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Oct 20, 2009 at 4:49 PM, Sunil Mushran wrote: > Steve French wrote: >> >> On Tue, Oct 20, 2009 at 4:23 PM, Sunil Mushran >> 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? -- Thanks, Steve