Return to Main Contents
, systemd-fsck-root.service, systemd-fsck - File system checker logic
are services responsible for file system checks. They are instantiated for each device that is configured for file system checking.
is responsible for file system checks on the root file system, but in only if the root filesystem wasn't checked in the initramfs.
is used for all other file systems and for the root file system in the initramfs.
Those services are started at boot if
for the file system is set to a value greater than zero. The file system check for root is performed before the other file systems. Other file systems may be checked in parallel, except when they are one the same rotating disk.
does not know any details about specific filesystems, and simply executes file system checkers specific to each filesystem type (/sbin/fsck.*). This helper will decide if the filesystem should actually be checked based on the time since last check, number of mounts, unclean unmount, etc.
will forward file system checking progress to the console. If a file system check fails for a service without
nofail, emergency mode is activated, by isolating to
KERNEL COMMAND LINE
understands one kernel command line parameter:
"skip". Controls the mode of operation. The default is
"auto", and ensures that file system checks are done when the file system checker deems them necessary.
unconditionally results in full file system checks.
skips any file system checks.
"no". Controls the mode of operation. The default is
" preen", and will automatically repair problems that can be safely fixed.
will answer yes to all questions by fsck and
will answer no to all questions.
- KERNEL COMMAND LINE
- SEE ALSO