{
    "content": [
        {
            "type": "text",
            "text": "# systemd-fsck-root.service(8) (man)\n\n**Summary:** systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck - File system checker logic\n\n**Synopsis:** systemd-fsck@.service\nsystemd-fsck-root.service\n/lib/systemd/systemd-fsck\n\n## See Also\n\n- systemd(1)\n- fsck(8)\n- systemd-quotacheck.service(8)\n- fsck.btrfs(8)\n- fsck.cramfs(8)\n- fsck.ext4(8)\n- fsck.fat(8)\n- fsck.hfsplus(8)\n- fsck.minix(8)\n- fsck.ntfs(8)\n- fsck.xfs(8)\n- .SERVICE(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (6 lines)\n- **DESCRIPTION** (19 lines)\n- **KERNEL COMMAND LINE** (13 lines)\n- **SEE ALSO** (6 lines)\n\n## Full Content\n\n### NAME\n\nsystemd-fsck@.service, systemd-fsck-root.service, systemd-fsck - File system checker logic\n\n### SYNOPSIS\n\nsystemd-fsck@.service\n\nsystemd-fsck-root.service\n\n/lib/systemd/systemd-fsck\n\n### DESCRIPTION\n\nsystemd-fsck@.service and systemd-fsck-root.service are services responsible for file system\nchecks. They are instantiated for each device that is configured for file system checking.\nsystemd-fsck-root.service is responsible for file system checks on the root file system, but\nonly if the root filesystem was not checked in the initramfs.  systemd-fsck@.service is used\nfor all other file systems and for the root file system in the initramfs.\n\nThese services are started at boot if passno in /etc/fstab for the file system is set to a\nvalue greater than zero. 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 (/sbin/fsck.type). These checkers will\ndecide if the filesystem should actually be checked based on the time since last check,\nnumber of mounts, unclean unmount, etc.\n\nIf a file system check fails for a service without nofail, emergency mode is activated, by\nisolating to emergency.target.\n\n### KERNEL COMMAND LINE\n\nsystemd-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\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\n### SEE ALSO\n\nsystemd(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\n\n\nsystemd 249                                                                 SYSTEMD-FSCK@.SERVICE(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "systemd-fsck-root.service",
        "section": "8",
        "mode": "man",
        "summary": "systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck - File system checker logic",
        "synopsis": "systemd-fsck@.service\nsystemd-fsck-root.service\n/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": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 19,
                "subsections": []
            },
            {
                "name": "KERNEL COMMAND LINE",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}