{
  "slug": "inode-change-time",
  "term": "Inode change time",
  "aliases": [
    "ctime",
    "Status change time",
    "Last status change time"
  ],
  "definition": "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.",
  "note": "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. [linux-inode] [linux-utimensat]\n\nTimestamps 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. [linux-inode] [linux-statx]\n\nThe 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. [rsync-manual]\n\nA 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. [linux-stat]",
  "related": [
    "inode",
    "file-modification-time",
    "file-access-time",
    "file-birth-time",
    "rsync-quick-check",
    "multigrain-timestamps"
  ],
  "citations": [
    {
      "id": "linux-inode",
      "title": "Linux man-pages: inode(7)",
      "url": "https://man7.org/linux/man-pages/man7/inode.7.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "linux-utimensat",
      "title": "Linux man-pages: utimensat(2)",
      "url": "https://man7.org/linux/man-pages/man2/utimensat.2.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "linux-stat",
      "title": "Linux man-pages: stat(2), concurrent metadata observations",
      "url": "https://man7.org/linux/man-pages/man2/stat.2.html",
      "accessed": "2026-10-21"
    },
    {
      "id": "rsync-manual",
      "title": "rsync(1): default quick-check file selection",
      "url": "https://download.samba.org/pub/rsync/rsync.1",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela-file-times",
      "title": "Hesela: interpreting file timestamps during rsync selection",
      "url": "https://hesela.com/analyses/rsync-delta-shifted-blocks/#file-times",
      "accessed": "2026-10-21"
    },
    {
      "id": "linux-statx",
      "title": "Linux man-pages: statx(2), statx_timestamp seconds and nanoseconds",
      "url": "https://man7.org/linux/man-pages/man2/statx.2.html",
      "accessed": "2026-10-23"
    }
  ],
  "status": "shipping",
  "advantages": [
    {
      "text": "An mtime rolled back with utimensat does not roll back ctime, which is set to the current time by the same call.",
      "citationIds": [
        "linux-utimensat"
      ]
    },
    {
      "text": "Distinguishes inode status changes from content modification time.",
      "citationIds": [
        "linux-inode"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Does not identify which content or metadata changed.",
      "citationIds": [
        "linux-inode"
      ]
    },
    {
      "text": "Not a file creation timestamp or a complete audit trail.",
      "citationIds": [
        "linux-inode"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-29",
  "provenance": [
    "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."
  ]
}
