1SYSTEMD-FSCK@.SERVICE(8)     systemd-fsck@.service    SYSTEMD-FSCK@.SERVICE(8)
2
3
4

NAME

6       systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck - File
7       system checker logic
8

SYNOPSIS

10       systemd-fsck@.service
11
12       systemd-fsck-root.service
13
14       /usr/lib/systemd/systemd-fsck
15

DESCRIPTION

17       systemd-fsck@.service and systemd-fsck-root.service are services
18       responsible for file system checks. They are instantiated for each
19       device that is configured for file system checking.
20       systemd-fsck-root.service is responsible for file system checks on the
21       root file system, but in only if the root filesystem wasn't checked in
22       the initramfs.  systemd-fsck@.service is used for all other file
23       systems and for the root file system in the initramfs.
24
25       Those services are started at boot if passno in /etc/fstab for the file
26       system is set to a value greater than zero. The file system check for
27       root is performed before the other file systems. Other file systems may
28       be checked in parallel, except when they are one the same rotating
29       disk.
30
31       systemd-fsck does not know any details about specific filesystems, and
32       simply executes file system checkers specific to each filesystem type
33       (/sbin/fsck.*). This helper will decide if the filesystem should
34       actually be checked based on the time since last check, number of
35       mounts, unclean unmount, etc.
36
37       systemd-fsck will forward file system checking progress to the console.
38       If a file system check fails for a service without nofail, emergency
39       mode is activated, by isolating to emergency.target.
40

KERNEL COMMAND LINE

42       systemd-fsck understands one kernel command line parameter:
43
44       fsck.mode=
45           One of "auto", "force", "skip". Controls the mode of operation. The
46           default is "auto", and ensures that file system checks are done
47           when the file system checker deems them necessary.  "force"
48           unconditionally results in full file system checks.  "skip" skips
49           any file system checks.
50
51       fsck.repair=
52           One of "preen", "yes", "no". Controls the mode of operation. The
53           default is " preen", and will automatically repair problems that
54           can be safely fixed.  "yes " will answer yes to all questions by
55           fsck and "no" will answer no to all questions.
56

SEE ALSO

58       systemd(1), fsck(8), systemd-quotacheck.service(8), fsck.btrfs(8),
59       fsck.cramfs(8), fsck.ext4(8), fsck.fat(8), fsck.hfsplus(8),
60       fsck.minix(8), fsck.ntfs(8), fsck.xfs(8)
61
62
63
64systemd 219                                           SYSTEMD-FSCK@.SERVICE(8)
Impressum