5 ms·
So what is the difference between "modify" and "change"??
by pawadu 10y ago
So what is the difference between "modify" and "change"??
- XorNot 10y agoContent modification vs. metadata modification I believe.
- yAnonymous 10y agoIt's the other way around. ctime (status change) for metadata, mtime (modification) for files contents, atime (access) for file access.
- merraksh 10y agoPart of the confusion for {c,m}time probably comes from [c]time: [c]hange [m]etadata [m]time: [m]odify] file [c]ontents
- pawadu 10y agoyeah, that was my first reaction: how do I know which one is which?
- inopinatus 10y agowell, if you need to check in future, like this: $ man 2 stat
- Xophmeister 10y agoctime is when the inode or file changes in terms of stat, ownership, etc. mtime is when the contents of the file is changed.