<div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif">Or perhaps the comment was wrong?</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif">I do remember being confused by it.</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,sans-serif">-rob</div><div class="gmail_default" style="font-family:arial,sans-serif"><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Mar 12, 2025 at 1:19 PM Theodore Ts'o <<a href="mailto:tytso@mit.edu">tytso@mit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As part of a discusion on the Linux kernel mailing list, there was an<br>
assertion that ctime was orginally "creation time".<br>
<br>
>From the v7 sources in TUHS, we can see:<br>
<br>
struct dinode<br>
{<br>
        unsigned short  di_mode;        /* mode and type of file */<br>
        short   di_nlink;       /* number of links to file */<br>
        short   di_uid;         /* owner's user id */<br>
        short   di_gid;         /* owner's group id */<br>
        off_t   di_size;        /* number of bytes in file */<br>
        char    di_addr[40];    /* disk block addresses */<br>
        time_t  di_atime;       /* time last accessed */<br>
        time_t  di_mtime;       /* time last modified */<br>
        time_t  di_ctime;       /* time created */<br>
};<br>
<br>
... although the v7 kernel sources does seem to update ctime when the<br>
inode metadata changes, regardless of what the coment in<br>
/usr/src/sys/h/ino.h might say.<br>
<br>
More interestingly, this comment seems to continue in newer versions<br>
up to 3BSD, and then the comments becomes "change time" in BSD 4.2,<br>
probably coincident with the File System Implementation?<br>
<br>
The best we can guess is that the change from "creation time" to<br>
"inode change time" happened sometime between 1979 and 1982.  Does<br>
anyone who was around can give the story about how and when this<br>
happened?<br>
<br>
                                        - Ted<br>
</blockquote></div>