{
    "content": [
        {
            "type": "text",
            "text": "# systemd-fsck (man)\n\n## NAME\n\nsystemd-fsck@.service, systemd-fsck-root.service, systemd-fsck-usr.service, systemd-fsck - File system checker logic\n\n## SYNOPSIS\n\nsystemd-fsck@.service\nsystemd-fsck-root.service\nsystemd-fsck-usr.service\n/usr/lib/systemd/systemd-fsck\n\n## DESCRIPTION\n\nsystemd-fsck@.service, systemd-fsck-root.service, and systemd-fsck-usr.service are services\nresponsible for file system checks. They are instantiated for each device that is configured\nfor file system checking.  systemd-fsck-root.service and systemd-fsck-usr.service are\nresponsible for file system checks on the root and /usr file system, respectively, but only\nif the root filesystem was not checked in the initrd.  systemd-fsck@.service is used for all\nother file systems and for the root file system in the initrd.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **KERNEL COMMAND LINE**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "systemd-fsck",
        "section": "",
        "mode": "man",
        "summary": "systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck-usr.service, systemd-fsck - File system checker logic",
        "synopsis": "systemd-fsck@.service\nsystemd-fsck-root.service\nsystemd-fsck-usr.service\n/usr/lib/systemd/systemd-fsck",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "fsck",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsck/8/json"
            },
            {
                "name": "systemd-quotacheck.service",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/systemd-quotacheck.service/8/json"
            },
            {
                "name": "fsck.btrfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsck.btrfs/8/json"
            },
            {
                "name": "fsck.cramfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsck.cramfs/8/json"
            },
            {
                "name": "fsck.ext4",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsck.ext4/8/json"
            },
            {
                "name": "fsck.fat",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsck.fat/8/json"
            },
            {
                "name": "fsck.hfsplus",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsck.hfsplus/8/json"
            },
            {
                "name": "fsck.minix",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsck.minix/8/json"
            },
            {
                "name": "fsck.ntfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsck.ntfs/8/json"
            },
            {
                "name": "fsck.xfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsck.xfs/8/json"
            },
            {
                "name": ".SERVICE",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/.SERVICE/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 26,
                "subsections": []
            },
            {
                "name": "KERNEL COMMAND LINE",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck-usr.service, systemd-fsck -\nFile system checker logic\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "systemd-fsck@.service\n\nsystemd-fsck-root.service\n\nsystemd-fsck-usr.service\n\n/usr/lib/systemd/systemd-fsck\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "systemd-fsck@.service, systemd-fsck-root.service, and systemd-fsck-usr.service are services\nresponsible for file system checks. They are instantiated for each device that is configured\nfor file system checking.  systemd-fsck-root.service and systemd-fsck-usr.service are\nresponsible for file system checks on the root and /usr file system, respectively, but only\nif the root filesystem was not checked in the initrd.  systemd-fsck@.service is used for all\nother file systems and for the root file system in the initrd.\n\nThese services are started at boot if passno in /etc/fstab for the file system is set to a\nvalue greater than zero, but only if it is also configured to be mounted at boot (i.e.\nwithout \"noauto\" option). The file system check for root is performed before the other file\nsystems. Other file systems may be checked in parallel, except when they are on the same\nrotating disk.\n\nsystemd-fsck does not know any details about specific filesystems, and simply executes file\nsystem checkers specific to each filesystem type (fsck.type). These checkers will decide if\nthe filesystem should actually be checked based on the time since last check, number of\nmounts, unclean unmount, etc.\n\nsystemd-fsck-root.service and systemd-fsck-usr.service will activate reboot.target if fsck\nreturns the \"System should reboot\" condition, or emergency.target if fsck returns the\n\"Filesystem errors left uncorrected\" condition.\n\nsystemd-fsck@.service will fail if fsck returns with either \"System should reboot\" or\n\"Filesystem errors left uncorrected\" conditions. For filesystems listed in /etc/fstab without\n\"nofail\" or \"noauto\" options, \"local-fs.target\" will then activate emergency.target.\n",
                "subsections": []
            },
            "KERNEL COMMAND LINE": {
                "content": "systemd-fsck understands these kernel command line parameters:\n\nfsck.mode=\nOne of \"auto\", \"force\", \"skip\". Controls the mode of operation. The default is \"auto\",\nand ensures that file system checks are done when the file system checker deems them\nnecessary.  \"force\" unconditionally results in full file system checks.  \"skip\" skips any\nfile system checks.\n\nAdded in version 186.\n\nfsck.repair=\nOne of \"preen\", \"yes\", \"no\". Controls the mode of operation. The default is \"preen\", and\nwill automatically repair problems that can be safely fixed.  \"yes\" will answer yes to\nall questions by fsck and \"no\" will answer no to all questions.\n\nAdded in version 213.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "systemd(1), fsck(8), systemd-quotacheck.service(8), fsck.btrfs(8), fsck.cramfs(8),\nfsck.ext4(8), fsck.fat(8), fsck.hfsplus(8), fsck.minix(8), fsck.ntfs(8), fsck.xfs(8)\n\nsystemd 255                                                                 SYSTEMD-FSCK@.SERVICE(8)",
                "subsections": []
            }
        }
    }
}