inode-change-time · shipping · also ctime, Status change time, Last status change time

Inode change time

Inode change time (ctime) is the filesystem timestamp of the latest change to a file's inode status, including content writes and changes to selected metadata.

On Linux, writes and changes to permissions, ownership or link count update ctime. It is not creation time; btime is a separate field where supported. Setting atime or mtime with utimensat() normally updates ctime, even if the requested values are unchanged; specifying UTIME_OMIT for both timestamps leaves all timestamps unchanged. [1] [2]

Timestamps count from the Epoch, 1970-01-01 00:00:00 UTC. Nanosecond precision is supported on XFS, JFS, Btrfs and ext4 since Linux 2.6.23, but not on ext2, ext3 or ReiserFS, where the nanosecond field reads 0. statx returns stx_ctime as 64-bit seconds plus a 32-bit nanosecond field. [1] [6]

The default rsync quick check looks for changes in size or last-modified time and does not compare ctime. A ctime change alone therefore does not ensure that rsync reads or transfers file contents. [4]

A stat-family call does not freeze the file. Returned fields can reflect different instants when another process changes metadata. A descriptor identifies the open file but does not provide a consistent backup snapshot. [3]

Relations

related
Inode, File modification time, File access time, File birth time, Rsync quick check, Multigrain timestamps

Advantages

  • An mtime rolled back with utimensat does not roll back ctime, which is set to the current time by the same call. [2]
  • Distinguishes inode status changes from content modification time. [1]

Limitations

  • Does not identify which content or metadata changed. [1]
  • Not a file creation timestamp or a complete audit trail. [1]

Citations

  1. Linux man-pages: inode(7) (accessed 2026-10-23)
  2. Linux man-pages: utimensat(2) (accessed 2026-10-23)
  3. Linux man-pages: stat(2), concurrent metadata observations (accessed 2026-10-21)
  4. rsync(1): default quick-check file selection (accessed 2026-10-23)
  5. Linux man-pages: statx(2), statx_timestamp seconds and nanoseconds (accessed 2026-10-23)

Further reading

  1. Hesela: interpreting file timestamps during rsync selection (accessed 2026-10-21)
Sources & caveats
  • linux-inode is the Linux man-pages 6.19 inode(7) page, re-read for the ctime triggers, the Epoch base and the nanosecond support list.
  • linux-utimensat is utimensat(2), re-read for UTIME_OMIT and the rule that ctime is set to the current time. linux-statx is statx(2), read for the 64-bit and 32-bit timestamp fields.
  • rsync-manual is the rsync(1) manual, re-read for the default quick check on size and last-modified time.
  • The delta-synchronization entry links here because change detection by metadata can miss or over-select files depending on which timestamp it reads.

JSON: /data/terms/inode-change-time.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Inode change time. Hesela. 2026-11-29. https://hesela.dev/terms/inode-change-time/