[TUHS] When/how did ctime change from inode "creation" to "change" time?
Alec Muffett
alec.muffett at gmail.com
Wed Mar 12 17:10:25 AEST 2025
On Wed, 12 Mar 2025, 05:57 Theodore Ts'o, <tytso at mit.edu> wrote:
>
> time_t di_ctime; /* time created */
...
> ... although the v7 kernel sources does seem to update ctime when the
> inode metadata changes, regardless of what the coment in
> /usr/src/sys/h/ino.h might say.
>
I've worked at one company where policy was that comments were considered a
risk for precisely this reason, and where if code were not written clearly
enough to be understood without comments, it was generally considered a bug.
Perhaps the comment is just a brain fart?
-a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20250312/ed6accef/attachment.htm>
More information about the TUHS
mailing list