Timothy Shimmin <tes@xxxxxxx> writes:
> No XFS does not support creation time. It just has the regular
> atime,mtime and ctime.
> There are no plans that I've heard to support it.
> Not much involved to support it AFAICT but it would either involve
> changing the ondisk format of the inode or storing it in an EA.
If you ever change the on disk format adding a file type similar to ext3
to directories could also greatly speed up find in many cases.
> I wonder how this creation time is being exported currently?
I don't think it is at all currently:
% gid i_crtime
fs/udf/udf_i.h:21:#define UDF_I_CRTIME(X) ( UDF_I(X)->i_crtime )
include/linux/ext4_fs.h:344: __le32 i_crtime; /* File Creation time */
include/linux/ext4_fs_i.h:160: struct timespec i_crtime;
include/linux/udf_fs_i.h:20: struct timespec i_crtime;
fs/ext4/ialloc.c:566: inode->i_mtime = inode->i_atime = inode->i_ctime =
fs/ext4/inode.c:2705: EXT4_EINODE_GET_XTIME(i_crtime, ei, raw_inode);
fs/ext4/inode.c:2792: EXT4_EINODE_SET_XTIME(i_crtime, ei, raw_inode);