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).
I just ran the following on my box. (2.6.28-15-generic #52-Ubuntu SMP)
This is on ocfs2.
$ stat DSCN1417.jpg
File: `DSCN1417.jpg'
Size: 60991 Blocks: 120 IO Block: 4096 regular file
Device: 807h/2055d Inode: 9031712 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( xxxxx/xxxxxxx) Gid: ( xxxx/xxxxxxx)
Access: 2009-09-10 10:49:08.508507794 -0700
Modify: 2006-07-05 18:27:05.000000000 -0700
Change: 2007-05-29 15:23:16.000058283 -0700
$ touch DSCN1417.jpg
$ stat DSCN1417.jpg
File: `DSCN1417.jpg'
Size: 60991 Blocks: 120 IO Block: 4096 regular file
Device: 807h/2055d Inode: 9031712 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( xxxx/xxxxxxx) Gid: ( xxxx/xxxxxx)
Access: 2009-10-20 14:41:51.224405489 -0700
Modify: 2009-10-20 14:41:51.224405489 -0700
Change: 2009-10-20 14:41:51.224405489 -0700
--
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