stat: "modification time" vs "change time"?

stat: "modification time" vs "change time"?

am 29.11.2007 15:10:02 von Robert Latest

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

Re: "modification time" vs "change time"?

am 29.11.2007 15:41:29 von Joachim Schmitz

"Robert Latest" schrieb im Newsbeitrag
news:5r7vhqF13dgh2U1@mid.dfncis.de...
> Hello,
>
> what's the difference between the "modification time" vs the "last changed
> time" as returned by stat's %Y resp. %Z format placeholders?
modified content vs. changed permissions and ownerships

Bye, Jojo

Re: stat: "modification time" vs "change time"?

am 29.11.2007 19:14:27 von Maxwell Lol

Robert Latest 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.

Re: stat: "modification time" vs "change time"?

am 30.11.2007 11:06:41 von Robert Latest

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