|
Home > Archive > Unix Shell > November 2007 > stat: "modification time" vs "change time"?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
stat: "modification time" vs "change time"?
|
|
| Robert Latest 2007-11-29, 1:29 pm |
| Hello,
what's the difference between the "modification time" vs the "last changed
time" as returned by stat's %Y resp. %Z format placeholders?
Thanks,
robert
| |
| Maxwell Lol 2007-11-29, 1:29 pm |
| Robert Latest <boblatest@yahoo.com> writes:
> Hello,
>
> what's the difference between the "modification time" vs the "last changed
> time" as returned by stat's %Y resp. %Z format placeholders?
The data and the meta-data are different.
The file DATA is stored in data blocks, but the data ABOUT the file
are stored in a different location (the inode.) This includes name,
owner, group, permission, etc.
modification time is when the data changed.
last changed time is when the meta data changed.
| |
| Robert Latest 2007-11-30, 7:35 am |
| Maxwell Lol wrote:
> The file DATA is stored in data blocks, but the data ABOUT the file
> are stored in a different location (the inode.) This includes name,
> owner, group, permission, etc.
>
> modification time is when the data changed.
> last changed time is when the meta data changed.
Thanks,
robert
|
|
|
|
|