Re: [PATCH] O_NOATIME support

From: Matthias Schniedermeyer
Date: Wed Jun 16 2004 - 01:24:38 EST


On Tue, Jun 15, 2004 at 03:03:49PM -0700, Paul Jackson wrote:
> Matthias, replying to Alexandre:
> > > But utimes updates the inode modification time, so you can still tell
> > > something happened to the file.
> >
> > No.
>
> A less terse answer:
>
> Utimes modifies the inode ctime - time of last inode change.
>
> So, yes, you can still something happened to the file.

Hmm. The man-page doesn't meantion this, but i tried it

stat <file>
touch <file>
stat <file>

and all 3 times were the same after touching it.

man touch
- snip -
Update the access and modification times of each FILE to the current time.
- snip -

I would have guessed that changing atime/mtime doesn't change ctime.





Bis denn

--
Real Programmers consider "what you see is what you get" to be just as
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated,
cryptic, powerful, unforgiving, dangerous.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/