LWN.net Logo

ctime

ctime

Posted Jul 29, 2010 23:46 UTC (Thu) by giraffedata (subscriber, #1954)
In reply to: ctime by markh
Parent article: File creation times

The provision I quoted applies to end users. It also prohibits distribution of those adaptations:

OK, I'll bite. The reason is that they use the modification time as a version indication of the content of the file, not of the file per se. I found that I most often want mtime to be the former, so many years ago I changed "cp" to an alias that preserves mtime, and I have been much happier since. I use mtimes in manual processes a lot.

Of course, I get bitten the reverse way sometimes.


(Log in to post comments)

ctime

Posted Jul 30, 2010 0:45 UTC (Fri) by markh (subscriber, #33984) [Link]

I have no problem with people using mtime this way, as long as there is some other way to determine that some change was made. ctime satisfies that nicely. I am just concerned that Linus of all people would suggest that ctime is not useful and would be so quick to suggest that it be repurposed.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds