Re:Linus on btime: “Let’s wait five years” (2010)
by pawadu on Thursday September 22, 2016 @04:02AM
(#12555280)
So what is the difference between "modify" and "change"??
[ Parent
| on HN ]
Re:Linus on btime: “Let’s wait five years” (2010)
by Xophmeister on Thursday September 22, 2016 @04:35AM
(#12555400)
ctime is when the inode or file changes in terms of stat, ownership, etc. mtime is when the contents of the file is changed.
Re:Linus on btime: “Let’s wait five years” (2010)
by XorNot on Thursday September 22, 2016 @04:32AM
(#12555387)
Content modification vs. metadata modification I believe.
Re:Linus on btime: “Let’s wait five years” (2010)
by yAnonymous on Thursday September 22, 2016 @04:56AM
(#12555502)
It's the other way around. ctime (status change) for metadata, mtime (modification) for files contents, atime (access) for file access.
Re:Linus on btime: “Let’s wait five years” (2010)
by merraksh on Thursday September 22, 2016 @06:32AM
(#12555840)
Part of the confusion for {c,m}time probably comes from
[c]time: [c]hange [m]etadata
[m]time: [m]odify] file [c]ontents
Re:Linus on btime: “Let’s wait five years” (2010)
by pawadu on Thursday September 22, 2016 @06:58AM
(#12555921)
yeah, that was my first reaction: how do I know which one is which?
Re:Linus on btime: “Let’s wait five years” (2010)
by inopinatus on Thursday September 22, 2016 @07:21AM
(#12556011)
well, if you need to check in future, like this:
$ man 2 stat