{
  "slug": "file-access-time",
  "term": "File access time",
  "aliases": [
    "atime",
    "File access timestamp",
    "Last file access time"
  ],
  "definition": "File access time (atime) is the filesystem timestamp associated with access to a file, subject to the operating system's access-time update policy.",
  "note": "On Linux, reads can update atime, but noatime suppresses access-driven updates and relatime limits them. With relatime, an access updates atime when the previous value is no later than mtime or ctime, or is more than 1 day old, and since Linux 2.6.30 this is the kernel default unless strictatime is requested. nodiratime suppresses updates for directories only. [linux-mount]\n\nO_NOATIME, available since Linux 2.6.8, suppresses updates for reads through one opened file, but only a caller that owns the file or is privileged may use it. [linux-open]\n\nlazytime is different: eligible timestamps are updated in memory, and the on-disk copy is written when the inode changes for another reason, on fsync(2), syncfs(2) or sync(2), when an undeleted inode is evicted, or through aged timestamp writeback. The manual's 24-hour description is not an unconditional durability deadline: Linux v6.12 uses a tunable dirtytime interval, with a 12-hour default and possible two-interval behavior. [linux-dirtytime-v612] [linux-vm-dirtytime] Neither an unchanged atime nor delayed on-disk persistence proves that no access occurred. [linux-mount]\n\nutimensat(2) can set atime explicitly, to the current time with UTIME_NOW, or leave it unchanged with UTIME_OMIT. [linux-utimensat] On filesystems without subsecond timestamps the nanosecond field reads as 0. [linux-inode]",
  "related": [
    "inode",
    "file-modification-time",
    "inode-change-time",
    "file-birth-time",
    "relatime",
    "lazytime",
    "x-ray"
  ],
  "citations": [
    {
      "id": "linux-inode",
      "title": "Linux man-pages 6.19: inode(7), file timestamps",
      "url": "https://man7.org/linux/man-pages/man7/inode.7.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "linux-mount",
      "title": "util-linux: mount(8), access-time policy and lazytime",
      "url": "https://man7.org/linux/man-pages/man8/mount.8.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "linux-utimensat",
      "title": "Linux man-pages 6.19: utimensat(2), UTIME_NOW and UTIME_OMIT",
      "url": "https://man7.org/linux/man-pages/man2/utimensat.2.html",
      "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-open",
      "title": "Linux man-pages 6.19: open(2), O_NOATIME",
      "url": "https://man7.org/linux/man-pages/man2/open.2.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "linux-dirtytime-v612",
      "title": "Linux v6.12 fs/fs-writeback.c: dirtytime interval and writeback",
      "url": "https://github.com/torvalds/linux/blob/v6.12/fs/fs-writeback.c#L53",
      "accessed": "2026-11-09"
    },
    {
      "id": "linux-vm-dirtytime",
      "title": "Linux 6.12 VM documentation: dirtytime_expire_seconds",
      "url": "https://docs.kernel.org/6.12/admin-guide/sysctl/vm.html#dirtytime-expire-seconds",
      "accessed": "2026-11-09"
    }
  ],
  "status": "shipping",
  "advantages": [
    {
      "text": "Can indicate access relative to modification when the applicable update policy is known.",
      "citationIds": [
        "linux-mount"
      ]
    }
  ],
  "limitations": [
    "May not record every read.",
    {
      "text": "The policy is set per mount, so the same file can follow different rules under different mount options.",
      "citationIds": [
        "linux-mount"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "provenance": [
    "linux-mount is the util-linux mount(8) page, re-read for noatime, nodiratime, relatime, strictatime and lazytime.",
    "linux-open is the Linux man-pages 6.19 open(2) page, read for O_NOATIME and its permission rule.",
    "linux-utimensat is the Linux man-pages 6.19 utimensat(2) page, re-read for UTIME_NOW and UTIME_OMIT.",
    "linux-inode is the Linux man-pages 6.19 inode(7) page, re-read for timestamp fields and nanosecond support.",
    "The directory-enumeration entry links here because noatime and nodiratime decide whether reading directories records access time.",
    "2026-11-09: clarified lazytime scheduling versus durability using pinned Linux v6.12 source and VM documentation; added distinct policy entities."
  ]
}
