On Thu, Nov 19, 2009 at 5:59 PM, Indraneel Mukherjee <indro.ml@xxxxxxxxx> wrote: > Hi, > It seems that Linux does NOT provide a File Creation Time field. > > There is atime(file access time) & ctime(inode change time) & mtime(file > modification time) but NO field for File Creation Time. Why is it so? Actually if you see the comments in ext2_inode structure in kernel sources i_ctime says it is creation time. However everywhere it is changed frequently along with the mtime, so from the code looks like "c" stands for "change time" and not "creation time". 242 struct ext2_inode { 243 __le16 i_mode; /* File mode */ 244 __le16 i_uid; /* Low 16 bits of Owner Uid */ 245 __le32 i_size; /* Size in bytes */ 246 __le32 i_atime; /* Access time */ 247 __le32 i_ctime; /* Creation time */ A bit of googling showed that creation time is supported by some non-posix filesystems. > > Regards, > Indro > -- Thanks - Manish ================================== [$\*.^ -- I miss being one of them ================================== -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ