{
  "schemaVersion": 1,
  "kind": "native-controlled-observation",
  "generatedAt": "2026-12-04T18:09:41.999767+00:00",
  "platform": "Linux-6.8.0-151-generic-x86_64-with-glibc2.39",
  "python": "3.12.3",
  "scriptSha256": "64efde0f02603aa9b9d6e26b9af8944b8d038ddaac94374dd0ab22487bd4077d",
  "tools": {
    "mke2fs": {
      "path": "/usr/sbin/mke2fs",
      "sha256": "07cd24ce58a410cc9cee93c55ae5ac95986df016c5907dc7a49b55389bd41ed2",
      "version": {
        "argv": [
          "/usr/sbin/mke2fs",
          "-V"
        ],
        "status": 0,
        "stdout": "",
        "stderr": "mke2fs 1.47.0 (5-Feb-2023)\n\tUsing EXT2FS Library version 1.47.0\n"
      }
    },
    "debugfs": {
      "path": "/usr/sbin/debugfs",
      "sha256": "1e83118cc9582afcad2711fbb7f40f56668adccb386d988cb6d9ad5c2d001049",
      "version": {
        "argv": [
          "/usr/sbin/debugfs",
          "-V"
        ],
        "status": 0,
        "stdout": "",
        "stderr": "debugfs 1.47.0 (5-Feb-2023)\n\tUsing EXT2FS Library version 1.47.0\n"
      }
    },
    "e2fsck": {
      "path": "/usr/sbin/e2fsck",
      "sha256": "c69c6315f602d389821b3a1dab1308618616259400f2cf5d997243c4a83c284c",
      "version": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-V"
        ],
        "status": 0,
        "stdout": "",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n\tUsing EXT2FS Library version 1.47.0, 5-Feb-2023\n"
      }
    },
    "dumpe2fs": {
      "path": "/usr/sbin/dumpe2fs",
      "sha256": "a4546512b79b3dcbfa50ea68208a935f6e9c5abe1178014c0414e27ab7702862",
      "version": {
        "argv": [
          "/usr/sbin/dumpe2fs",
          "-V"
        ],
        "status": 0,
        "stdout": "",
        "stderr": "dumpe2fs 1.47.0 (5-Feb-2023)\n\tUsing EXT2FS Library version 1.47.0\n"
      }
    }
  },
  "fixture": {
    "bytes": 67108864,
    "blockBytes": 4096,
    "payloadBytes": 8192,
    "payloadReferenceSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
    "mutation": {
      "payloadByte": 123,
      "xor": 1,
      "physicalBlock": 15,
      "freeBlocksBefore": 16109,
      "freeBlocksAfter": 16108
    },
    "mke2fsConfig": "[defaults]\nbase_features = sparse_super,large_file,filetype,ext_attr,resize_inode,dir_index,extent,64bit,flex_bg,metadata_csum\nblocksize = 4096\ninode_size = 256\ninode_ratio = 16384\n[fs_types]\next4 = {\nfeatures = extent\n}\n",
    "e2fsckConfig": "[options]\nallow_cancellation = false\n",
    "filesystem": "Filesystem volume name:   <none>\nLast mounted on:          <not available>\nFilesystem UUID:          ba6f5b2b-fc93-4737-bfea-0ec1b72bde00\nFilesystem magic number:  0xEF53\nFilesystem revision #:    1 (dynamic)\nFilesystem features:      ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file metadata_csum\nFilesystem flags:         signed_directory_hash \nDefault mount options:    user_xattr acl\nFilesystem state:         clean\nErrors behavior:          Continue\nFilesystem OS type:       Linux\nInode count:              4096\nBlock count:              16384\nReserved block count:     819\nOverhead clusters:        267\nFree blocks:              16109\nFree inodes:              4084\nFirst block:              0\nBlock size:               4096\nFragment size:            4096\nGroup descriptor size:    64\nReserved GDT blocks:      7\nBlocks per group:         32768\nFragments per group:      32768\nInodes per group:         4096\nInode blocks per group:   256\nFlex block group size:    16\nFilesystem created:       Fri Dec  4 18:09:40 2026\nLast mount time:          n/a\nLast write time:          Fri Dec  4 18:09:40 2026\nMount count:              0\nMaximum mount count:      -1\nLast checked:             Fri Dec  4 18:09:40 2026\nCheck interval:           0 (<none>)\nLifetime writes:          45 kB\nReserved blocks uid:      0 (user root)\nReserved blocks gid:      0 (group root)\nFirst inode:              11\nInode size:\t          256\nRequired extra isize:     32\nDesired extra isize:      32\nDefault directory hash:   half_md4\nDirectory Hash Seed:      ff09f807-c14d-4ee6-a4f4-7d419f40cc28\nChecksum type:            crc32c\nChecksum:                 0x9649a2f9\n\n"
  },
  "cases": [
    {
      "case": "clean-normal",
      "options": [
        "-n"
      ],
      "status": 0,
      "passes": [],
      "imageBeforeSha256": "065274372b5567e028fffb74bceafa0df6cacdf3bf674bf2882567445e3d945c",
      "imageAfterSha256": "065274372b5567e028fffb74bceafa0df6cacdf3bf674bf2882567445e3d945c",
      "imageUnchanged": true,
      "payloadSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
      "payloadMatches": true,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-n",
          "$TMP/clean.img"
        ],
        "status": 0,
        "stdout": "$TMP/clean.img: clean, 12/4096 files, 275/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "clean-forced",
      "options": [
        "-f",
        "-n"
      ],
      "status": 0,
      "passes": [
        1,
        2,
        3,
        4,
        5
      ],
      "imageBeforeSha256": "065274372b5567e028fffb74bceafa0df6cacdf3bf674bf2882567445e3d945c",
      "imageAfterSha256": "065274372b5567e028fffb74bceafa0df6cacdf3bf674bf2882567445e3d945c",
      "imageUnchanged": true,
      "payloadSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
      "payloadMatches": true,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-f",
          "-n",
          "$TMP/clean.img"
        ],
        "status": 0,
        "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\n$TMP/clean.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "payload-normal",
      "options": [
        "-n"
      ],
      "status": 0,
      "passes": [],
      "imageBeforeSha256": "5f2941bb38f5be9df834594f393f02e92b6d7dc4f03b1d8b21768a6a82cc50db",
      "imageAfterSha256": "5f2941bb38f5be9df834594f393f02e92b6d7dc4f03b1d8b21768a6a82cc50db",
      "imageUnchanged": true,
      "payloadSha256": "928fc3b30f7419421a32252db0dcbfd34f24d83f411ed9dc56ff137a9a601505",
      "payloadMatches": false,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-n",
          "$TMP/payload-change.img"
        ],
        "status": 0,
        "stdout": "$TMP/payload-change.img: clean, 12/4096 files, 275/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "payload-forced",
      "options": [
        "-f",
        "-n"
      ],
      "status": 0,
      "passes": [
        1,
        2,
        3,
        4,
        5
      ],
      "imageBeforeSha256": "5f2941bb38f5be9df834594f393f02e92b6d7dc4f03b1d8b21768a6a82cc50db",
      "imageAfterSha256": "5f2941bb38f5be9df834594f393f02e92b6d7dc4f03b1d8b21768a6a82cc50db",
      "imageUnchanged": true,
      "payloadSha256": "928fc3b30f7419421a32252db0dcbfd34f24d83f411ed9dc56ff137a9a601505",
      "payloadMatches": false,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-f",
          "-n",
          "$TMP/payload-change.img"
        ],
        "status": 0,
        "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\n$TMP/payload-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "counter-normal",
      "options": [
        "-n"
      ],
      "status": 0,
      "passes": [],
      "imageBeforeSha256": "56d674d1ac94ae24de61ac106a60d843a5dd8d97467935b1de4efb7bf82f7490",
      "imageAfterSha256": "56d674d1ac94ae24de61ac106a60d843a5dd8d97467935b1de4efb7bf82f7490",
      "imageUnchanged": true,
      "payloadSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
      "payloadMatches": true,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-n",
          "$TMP/counter-change.img"
        ],
        "status": 0,
        "stdout": "$TMP/counter-change.img: clean, 12/4096 files, 276/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "counter-forced",
      "options": [
        "-f",
        "-n"
      ],
      "status": 0,
      "passes": [
        1,
        2,
        3,
        4,
        5
      ],
      "imageBeforeSha256": "56d674d1ac94ae24de61ac106a60d843a5dd8d97467935b1de4efb7bf82f7490",
      "imageAfterSha256": "56d674d1ac94ae24de61ac106a60d843a5dd8d97467935b1de4efb7bf82f7490",
      "imageUnchanged": true,
      "payloadSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
      "payloadMatches": true,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-f",
          "-n",
          "$TMP/counter-change.img"
        ],
        "status": 0,
        "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\nFree blocks count wrong (16108, counted=16109).\nFix? no\n\n$TMP/counter-change.img: 12/4096 files (0.0% non-contiguous), 276/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "counter-repair",
      "options": [
        "-f",
        "-y"
      ],
      "status": 1,
      "passes": [
        1,
        2,
        3,
        4,
        5
      ],
      "imageBeforeSha256": "56d674d1ac94ae24de61ac106a60d843a5dd8d97467935b1de4efb7bf82f7490",
      "imageAfterSha256": "165948fbce071980eeda005ddd287daa527c26ec0cf842c745b7d6d11024e125",
      "imageUnchanged": false,
      "payloadSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
      "payloadMatches": true,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-f",
          "-y",
          "$TMP/counter-change.img"
        ],
        "status": 1,
        "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\nFree blocks count wrong (16108, counted=16109).\nFix? yes\n\n\n$TMP/counter-change.img: ***** FILE SYSTEM WAS MODIFIED *****\n$TMP/counter-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "counter-recheck",
      "options": [
        "-f",
        "-n"
      ],
      "status": 0,
      "passes": [
        1,
        2,
        3,
        4,
        5
      ],
      "imageBeforeSha256": "165948fbce071980eeda005ddd287daa527c26ec0cf842c745b7d6d11024e125",
      "imageAfterSha256": "165948fbce071980eeda005ddd287daa527c26ec0cf842c745b7d6d11024e125",
      "imageUnchanged": true,
      "payloadSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
      "payloadMatches": true,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-f",
          "-n",
          "$TMP/counter-change.img"
        ],
        "status": 0,
        "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\n$TMP/counter-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "link-forced",
      "options": [
        "-f",
        "-n"
      ],
      "status": 4,
      "passes": [
        1,
        2,
        3,
        4,
        5
      ],
      "imageBeforeSha256": "66f1fdc022e632742f87eab8fe917b26e314f29c4b8fc1d28efff92c04c1c1fe",
      "imageAfterSha256": "66f1fdc022e632742f87eab8fe917b26e314f29c4b8fc1d28efff92c04c1c1fe",
      "imageUnchanged": true,
      "payloadSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
      "payloadMatches": true,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-f",
          "-n",
          "$TMP/link-change.img"
        ],
        "status": 4,
        "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nInode 12 ref count is 2, should be 1.  Fix? no\n\nPass 5: Checking group summary information\n\n$TMP/link-change.img: ********** WARNING: Filesystem still has errors **********\n\n$TMP/link-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "link-repair",
      "options": [
        "-f",
        "-y"
      ],
      "status": 1,
      "passes": [
        1,
        2,
        3,
        4,
        5
      ],
      "imageBeforeSha256": "66f1fdc022e632742f87eab8fe917b26e314f29c4b8fc1d28efff92c04c1c1fe",
      "imageAfterSha256": "81c1b18effc80e5bcb53b0712b9f158e832590b025b7cdc39600c41ce2eaa7d1",
      "imageUnchanged": false,
      "payloadSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
      "payloadMatches": true,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-f",
          "-y",
          "$TMP/link-change.img"
        ],
        "status": 1,
        "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nInode 12 ref count is 2, should be 1.  Fix? yes\n\nPass 5: Checking group summary information\n\n$TMP/link-change.img: ***** FILE SYSTEM WAS MODIFIED *****\n$TMP/link-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    },
    {
      "case": "link-recheck",
      "options": [
        "-f",
        "-n"
      ],
      "status": 0,
      "passes": [
        1,
        2,
        3,
        4,
        5
      ],
      "imageBeforeSha256": "81c1b18effc80e5bcb53b0712b9f158e832590b025b7cdc39600c41ce2eaa7d1",
      "imageAfterSha256": "81c1b18effc80e5bcb53b0712b9f158e832590b025b7cdc39600c41ce2eaa7d1",
      "imageUnchanged": true,
      "payloadSha256": "dc404a613fedaeb54034514bc6505f56b933caa5250299ba7d094377a51caa46",
      "payloadMatches": true,
      "transcript": {
        "argv": [
          "/usr/sbin/e2fsck",
          "-f",
          "-n",
          "$TMP/link-change.img"
        ],
        "status": 0,
        "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\n$TMP/link-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
        "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
      }
    }
  ],
  "commands": [
    {
      "argv": [
        "/usr/sbin/mke2fs",
        "-V"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "mke2fs 1.47.0 (5-Feb-2023)\n\tUsing EXT2FS Library version 1.47.0\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-V"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n\tUsing EXT2FS Library version 1.47.0\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-V"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n\tUsing EXT2FS Library version 1.47.0, 5-Feb-2023\n"
    },
    {
      "argv": [
        "/usr/sbin/dumpe2fs",
        "-V"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "dumpe2fs 1.47.0 (5-Feb-2023)\n\tUsing EXT2FS Library version 1.47.0\n"
    },
    {
      "argv": [
        "/usr/sbin/mke2fs",
        "-q",
        "-t",
        "ext4",
        "-b",
        "4096",
        "-I",
        "256",
        "-O",
        "^has_journal",
        "-E",
        "lazy_itable_init=0",
        "$TMP/clean.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "\nWarning: the fs_type small is not defined in mke2fs.conf\n\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-w",
        "-R",
        "write $TMP/payload.bin /payload",
        "$TMP/clean.img"
      ],
      "status": 0,
      "stdout": "Allocated inode: 12\n",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-f",
        "-y",
        "$TMP/clean.img"
      ],
      "status": 0,
      "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\n$TMP/clean.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/dumpe2fs",
        "-h",
        "$TMP/clean.img"
      ],
      "status": 0,
      "stdout": "Filesystem volume name:   <none>\nLast mounted on:          <not available>\nFilesystem UUID:          ba6f5b2b-fc93-4737-bfea-0ec1b72bde00\nFilesystem magic number:  0xEF53\nFilesystem revision #:    1 (dynamic)\nFilesystem features:      ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file metadata_csum\nFilesystem flags:         signed_directory_hash \nDefault mount options:    user_xattr acl\nFilesystem state:         clean\nErrors behavior:          Continue\nFilesystem OS type:       Linux\nInode count:              4096\nBlock count:              16384\nReserved block count:     819\nOverhead clusters:        267\nFree blocks:              16109\nFree inodes:              4084\nFirst block:              0\nBlock size:               4096\nFragment size:            4096\nGroup descriptor size:    64\nReserved GDT blocks:      7\nBlocks per group:         32768\nFragments per group:      32768\nInodes per group:         4096\nInode blocks per group:   256\nFlex block group size:    16\nFilesystem created:       Fri Dec  4 18:09:40 2026\nLast mount time:          n/a\nLast write time:          Fri Dec  4 18:09:40 2026\nMount count:              0\nMaximum mount count:      -1\nLast checked:             Fri Dec  4 18:09:40 2026\nCheck interval:           0 (<none>)\nLifetime writes:          45 kB\nReserved blocks uid:      0 (user root)\nReserved blocks gid:      0 (group root)\nFirst inode:              11\nInode size:\t          256\nRequired extra isize:     32\nDesired extra isize:      32\nDefault directory hash:   half_md4\nDirectory Hash Seed:      ff09f807-c14d-4ee6-a4f4-7d419f40cc28\nChecksum type:            crc32c\nChecksum:                 0x9649a2f9\n\n",
      "stderr": "dumpe2fs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "blocks /payload",
        "$TMP/clean.img"
      ],
      "status": 0,
      "stdout": "15 16 \n",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-w",
        "-R",
        "set_super_value free_blocks_count 16108",
        "$TMP/counter-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-w",
        "-R",
        "set_inode_field /payload links_count 2",
        "$TMP/link-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-n",
        "$TMP/clean.img"
      ],
      "status": 0,
      "stdout": "$TMP/clean.img: clean, 12/4096 files, 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/clean-normal.bin",
        "$TMP/clean.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-f",
        "-n",
        "$TMP/clean.img"
      ],
      "status": 0,
      "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\n$TMP/clean.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/clean-forced.bin",
        "$TMP/clean.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-n",
        "$TMP/payload-change.img"
      ],
      "status": 0,
      "stdout": "$TMP/payload-change.img: clean, 12/4096 files, 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/payload-normal.bin",
        "$TMP/payload-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-f",
        "-n",
        "$TMP/payload-change.img"
      ],
      "status": 0,
      "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\n$TMP/payload-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/payload-forced.bin",
        "$TMP/payload-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-n",
        "$TMP/counter-change.img"
      ],
      "status": 0,
      "stdout": "$TMP/counter-change.img: clean, 12/4096 files, 276/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/counter-normal.bin",
        "$TMP/counter-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-f",
        "-n",
        "$TMP/counter-change.img"
      ],
      "status": 0,
      "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\nFree blocks count wrong (16108, counted=16109).\nFix? no\n\n$TMP/counter-change.img: 12/4096 files (0.0% non-contiguous), 276/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/counter-forced.bin",
        "$TMP/counter-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-f",
        "-y",
        "$TMP/counter-change.img"
      ],
      "status": 1,
      "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\nFree blocks count wrong (16108, counted=16109).\nFix? yes\n\n\n$TMP/counter-change.img: ***** FILE SYSTEM WAS MODIFIED *****\n$TMP/counter-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/counter-repair.bin",
        "$TMP/counter-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-f",
        "-n",
        "$TMP/counter-change.img"
      ],
      "status": 0,
      "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\n$TMP/counter-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/counter-recheck.bin",
        "$TMP/counter-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-f",
        "-n",
        "$TMP/link-change.img"
      ],
      "status": 4,
      "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nInode 12 ref count is 2, should be 1.  Fix? no\n\nPass 5: Checking group summary information\n\n$TMP/link-change.img: ********** WARNING: Filesystem still has errors **********\n\n$TMP/link-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/link-forced.bin",
        "$TMP/link-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-f",
        "-y",
        "$TMP/link-change.img"
      ],
      "status": 1,
      "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nInode 12 ref count is 2, should be 1.  Fix? yes\n\nPass 5: Checking group summary information\n\n$TMP/link-change.img: ***** FILE SYSTEM WAS MODIFIED *****\n$TMP/link-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/link-repair.bin",
        "$TMP/link-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/e2fsck",
        "-f",
        "-n",
        "$TMP/link-change.img"
      ],
      "status": 0,
      "stdout": "Pass 1: Checking inodes, blocks, and sizes\nPass 2: Checking directory structure\nPass 3: Checking directory connectivity\nPass 4: Checking reference counts\nPass 5: Checking group summary information\n$TMP/link-change.img: 12/4096 files (0.0% non-contiguous), 275/16384 blocks\n",
      "stderr": "e2fsck 1.47.0 (5-Feb-2023)\n"
    },
    {
      "argv": [
        "/usr/sbin/debugfs",
        "-R",
        "dump /payload $TMP/link-recheck.bin",
        "$TMP/link-change.img"
      ],
      "status": 0,
      "stdout": "",
      "stderr": "debugfs 1.47.0 (5-Feb-2023)\n"
    }
  ]
}
