ext4 - getting at birth time (file create time) and getting/setting nanosecond time stamps and utime

Steve French smfrench at gmail.com
Tue Oct 20 15:56:01 MDT 2009


On Tue, Oct 20, 2009 at 4:49 PM, Sunil Mushran <sunil.mushran at oracle.com> wrote:
> Steve French wrote:
>>
>> On Tue, Oct 20, 2009 at 4:23 PM, Sunil Mushran <sunil.mushran at oracle.com>
>> 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


More information about the samba-technical mailing list