{
  "slug": "ffsck",
  "term": "ffsck",
  "aliases": [
    "Fast File System Checker"
  ],
  "definition": "ffsck is a research filesystem checker that uses rext3's clustered, self-identifying metadata to replace inode-tree traversal with disk-order scanning.",
  "note": "The rext3 filesystem groups indirect blocks and directory blocks separately from ordinary file data. Backpointers identify metadata without first walking its inode tree. ffsck retains compact cross-check information after local checks. This trades allocation flexibility and memory for fewer seeks. [ffsck13]\n\nThe fast scan trusts allocation information. Detected bitmap/checksum disagreement triggers a traditional traversal; the prototype's simple checksum can miss collisions. Fast scanning therefore does not imply complete corruption detection. [ffsck13]\n\nA 2013 FreeBSD adaptation used a flexible metadata-placement hint and kept the first indirect block beside file data. It retained the disk format rather than implementing the complete rext3 design. [ffsck-freebsd13]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "related": [
    "filesystem-consistency-invariant",
    "crash-consistent-filesystem-repair"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "ffsck13",
      "title": "Ma et al. ffsck: The Fast File System Checker. FAST 2013, pp. 1-15, sections 4-6.",
      "url": "https://www.usenix.org/system/files/fast13-final52_0-v2_1.pdf",
      "accessed": "2026-11-29"
    },
    {
      "id": "ffsck-freebsd13",
      "title": "Marshall Kirk McKusick. Improving the Performance of fsck in FreeBSD. ;login: 38(2), April 2013, pp. 20-22.",
      "url": "https://www.usenix.org/system/files/login/articles/05a_mckusick_020-023_online.pdf",
      "accessed": "2026-11-29"
    }
  ],
  "updated": "2026-11-29",
  "provenance": [
    "Historical source review, not a benchmark replication or a recommendation to run prototype repair code on production data.",
    "FAST 2013 used Linux 2.6.28 and e2fsprogs 1.41.12. The FreeBSD follow-up used 8.3-STABLE r246915M; neither establishes current-version performance."
  ]
}
