Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file creation time



Answering my own questions (actually, half of it was in the Tods email
that I didn't carefully read :(

mtime - last time file was written
ctime - last time file was written/renamed
atime - last time file was read/written

Viktor


>>>>> On Mon, 15 Jan 2001 12:39:09 +0900, Viktor Pavlenko <vp@example.com> said:

>>>>> On Sun, 14 Jan 2001 21:26:56 -0600 (CST), Tod McQuillin <devin@example.com> said:
    TM> On Mon, 15 Jan 2001, Viktor Pavlenko wrote:
    >>> how can I determine the file creation time?

    TM> Unix (and Linux) does not keep track of file creation times.
    TM> Only the access time, modification time, and inode change time
    TM> are maintained.

    TM> There is basically no guaranteed way to know when a file was
    TM> first created.

    VP> Thanks, Tod. Just to make everything clear: what are the exact
    VP> meanings of all those times? mtime seems to always be the same
    VP> as ctime, and when atime is updated?

    VP> Viktor

    VP> -----------------------------------------------------------------------
    VP> Next Technical Meeting: Sat, January 20 13:30- LinuxProbe Hall
    VP> Next Nomikai Meeting: Fri, February 16 19:30- Tengu Tokyo Eki
    VP> Mae
    VP> -----------------------------------------------------------------------
    VP> more info: http://www.tlug.gr.jp Sponsor: Global Online Japan



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links