ctime是change time, creation是btime,man statx或者man inode:
/* The following fields are file timestamps */
struct statx_timestamp stx_atime; /* Last access */
struct statx_timestamp stx_btime; /* Creation */
struct statx_timestamp stx_ctime; /* Last status change */
struct statx_timestamp stx_mtime; /* Last modification */
不过btime在大部分Linux文件系统下都是不支持的:
The btime timestamp was not historically present on UNIX systems and is not currently supported by most Linux filesystems.
【 在 hgoldfish (老鱼) 的大作中提到: 】
: 没有 change time 吧。是 mtime, modified.
: ctime 确实是 created time. 但是目前看起来没有 API 可以修改。
--
修改:gameplayer FROM 222.128.5.*
FROM 222.128.5.*