mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-12 08:58:20 +03:00
man: mention systemd-fsck-usr.service
(cherry picked from commit 5e9750533586efa3d480ac2bc4cf8549993bc3f1) (cherry picked from commit 20f71ba98f9e55796693cdbd5d0416c372a7056c) (cherry picked from commit 720cb50229e6c8d5ecdf44a3d4b8c050743d4f49)
This commit is contained in:
parent
7e33c78366
commit
ce2f4e2c11
@ -882,7 +882,7 @@ manpages = [
|
||||
['systemd-firstboot', '1', ['systemd-firstboot.service'], 'ENABLE_FIRSTBOOT'],
|
||||
['systemd-fsck@.service',
|
||||
'8',
|
||||
['systemd-fsck', 'systemd-fsck-root.service'],
|
||||
['systemd-fsck', 'systemd-fsck-root.service', 'systemd-fsck-usr.service'],
|
||||
''],
|
||||
['systemd-fstab-generator', '8', [], ''],
|
||||
['systemd-getty-generator', '8', [], ''],
|
||||
|
@ -18,6 +18,7 @@
|
||||
<refnamediv>
|
||||
<refname>systemd-fsck@.service</refname>
|
||||
<refname>systemd-fsck-root.service</refname>
|
||||
<refname>systemd-fsck-usr.service</refname>
|
||||
<refname>systemd-fsck</refname>
|
||||
<refpurpose>File system checker logic</refpurpose>
|
||||
</refnamediv>
|
||||
@ -25,21 +26,20 @@
|
||||
<refsynopsisdiv>
|
||||
<para><filename>systemd-fsck@.service</filename></para>
|
||||
<para><filename>systemd-fsck-root.service</filename></para>
|
||||
<para><filename>systemd-fsck-usr.service</filename></para>
|
||||
<para><filename>/usr/lib/systemd/systemd-fsck</filename></para>
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
||||
<para><filename>systemd-fsck@.service</filename> and
|
||||
<filename>systemd-fsck-root.service</filename> are services
|
||||
responsible for file system checks. They are instantiated for each
|
||||
device that is configured for file system checking.
|
||||
<filename>systemd-fsck-root.service</filename> is responsible for
|
||||
file system checks on the root file system, but only if the
|
||||
root filesystem was not checked in the initramfs.
|
||||
<filename>systemd-fsck@.service</filename> is used for all other
|
||||
file systems and for the root file system in the initramfs.</para>
|
||||
<para><filename>systemd-fsck@.service</filename>, <filename>systemd-fsck-root.service</filename>, and
|
||||
<filename>systemd-fsck-usr.service</filename> are services responsible for file system checks. They are
|
||||
instantiated for each device that is configured for file system checking.
|
||||
<filename>systemd-fsck-root.service</filename> and <filename>systemd-fsck-usr.service</filename> are
|
||||
responsible for file system checks on the root and /usr file system, respectively, but only if the root
|
||||
filesystem was not checked in the initrd. <filename>systemd-fsck@.service</filename> is used for all
|
||||
other file systems and for the root file system in the initrd.</para>
|
||||
|
||||
<para>These services are started at boot if
|
||||
<option>passno</option> in <filename>/etc/fstab</filename> for the
|
||||
@ -55,10 +55,9 @@
|
||||
the filesystem should actually be checked based on the time since
|
||||
last check, number of mounts, unclean unmount, etc.</para>
|
||||
|
||||
<para><filename>systemd-fsck-root.service</filename> will activate
|
||||
<filename>reboot.target</filename> if <filename>/sbin/fsck</filename>
|
||||
returns the "System should reboot" condition, or
|
||||
<filename>emergency.target</filename> if <filename>/sbin/fsck</filename>
|
||||
<para><filename>systemd-fsck-root.service</filename> and <filename>systemd-fsck-usr.service</filename>
|
||||
will activate <filename>reboot.target</filename> if <filename>/sbin/fsck</filename> returns the "System
|
||||
should reboot" condition, or <filename>emergency.target</filename> if <filename>/sbin/fsck</filename>
|
||||
returns the "Filesystem errors left uncorrected" condition.</para>
|
||||
|
||||
<para><filename>systemd-fsck@.service</filename> will fail if
|
||||
|
Loading…
x
Reference in New Issue
Block a user