[PATCH 02/18] xstat: Add a pair of system calls to make extended file stats available [ver #6]
torvalds at linux-foundation.org
Thu Jul 22 11:32:31 MDT 2010
On Thu, Jul 22, 2010 at 10:12 AM, Jim Rees <rees at umich.edu> wrote:
> I believe it was done that way so "dump" could backup just the inode and not
> the data if only the inode had changed. Full history here:
Yes, the dump reasoning makes sense, and that history also shows that
originally chmod just changed mtime (since that's the _sane_ thing to
do). So if it wasn't for dump - that nobody uses any more and that was
considered a hack even back when and never supported things like
xattrs etc - unix probably wouldn't have a ctime at all (or would have
implemented a "creation time" because people would have asked for it).
So I'm sure there are reasons for ctime. That just doesn't mean that
it's really "good", the same way there were reasons to name "creat()"
without the "e".
More information about the samba-technical