|
|
65878a |
From 9395355f4733cecc72b31f384e313606745c14d2 Mon Sep 17 00:00:00 2001
|
|
|
65878a |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
|
65878a |
Date: Wed, 25 Dec 2013 23:20:57 -0500
|
|
|
65878a |
Subject: [PATCH] man: document fail/nofail, auto/noauto
|
|
|
65878a |
|
|
|
65878a |
Also s/filesystem/file system/ in a few places.
|
|
|
65878a |
|
|
|
65878a |
Conflicts:
|
|
|
65878a |
TODO
|
|
|
65878a |
man/systemd-fsck@.service.xml
|
|
|
65878a |
man/systemd-fstab-generator.xml
|
|
|
65878a |
---
|
|
|
65878a |
man/systemd-fsck@.service.xml | 5 ++++-
|
|
|
65878a |
man/systemd-fstab-generator.xml | 6 ++++++
|
|
|
65878a |
man/systemd-halt.service.xml | 2 +-
|
|
|
65878a |
man/systemd.mount.xml | 20 +++++++++++++++++++-
|
|
|
65878a |
man/systemd.unit.xml | 2 +-
|
|
|
65878a |
man/udevadm.xml | 2 +-
|
|
|
65878a |
6 files changed, 32 insertions(+), 5 deletions(-)
|
|
|
65878a |
|
|
|
65878a |
diff --git a/man/systemd-fsck@.service.xml b/man/systemd-fsck@.service.xml
|
|
|
65878a |
index e934352..c653dc5 100644
|
|
|
65878a |
--- a/man/systemd-fsck@.service.xml
|
|
|
65878a |
+++ b/man/systemd-fsck@.service.xml
|
|
|
65878a |
@@ -62,7 +62,10 @@
|
|
|
65878a |
system
|
|
|
65878a |
check. <filename>systemd-fsck-root.service</filename> is
|
|
|
65878a |
responsible for file system checks on the root
|
|
|
65878a |
- file system.</para>
|
|
|
65878a |
+ file system. The root file system check is performed
|
|
|
65878a |
+ before the other file systems. Either service is enabled
|
|
|
65878a |
+ at boot if passno in <filename>/etc/fstab</filename> for
|
|
|
65878a |
+ the file system is set to a value greater than zero.</para>
|
|
|
65878a |
|
|
|
65878a |
<para><filename>systemd-fsck</filename> will
|
|
|
65878a |
forward file system checking progress to the
|
|
|
65878a |
diff --git a/man/systemd-fstab-generator.xml b/man/systemd-fstab-generator.xml
|
|
|
65878a |
index 9ca16c7..e3cf5d2 100644
|
|
|
65878a |
--- a/man/systemd-fstab-generator.xml
|
|
|
65878a |
+++ b/man/systemd-fstab-generator.xml
|
|
|
65878a |
@@ -61,6 +61,12 @@
|
|
|
65878a |
reloaded. This will instantiate mount and swap units
|
|
|
65878a |
as necessary.</para>
|
|
|
65878a |
|
|
|
65878a |
+ <para>The <varname>passno</varname> field is treated
|
|
|
65878a |
+ like a simple boolean, and the ordering information is
|
|
|
65878a |
+ discarded. However, if the root file system is
|
|
|
65878a |
+ checked, it is checked before all the other
|
|
|
65878a |
+ file systems.</para>
|
|
|
65878a |
+
|
|
|
65878a |
<para>See
|
|
|
65878a |
<citerefentry><refentrytitle>systemd.mount</refentrytitle><manvolnum>5</manvolnum></citerefentry>
|
|
|
65878a |
and
|
|
|
65878a |
diff --git a/man/systemd-halt.service.xml b/man/systemd-halt.service.xml
|
|
|
65878a |
index 99457aa..bec2e36 100644
|
|
|
65878a |
--- a/man/systemd-halt.service.xml
|
|
|
65878a |
+++ b/man/systemd-halt.service.xml
|
|
|
65878a |
@@ -86,7 +86,7 @@
|
|
|
65878a |
<para>It is necessary to have this code in a separate binary
|
|
|
65878a |
because otherwise rebooting after an upgrade might be broken —
|
|
|
65878a |
the running PID 1 could still depend on libraries which are not
|
|
|
65878a |
- available any more, thus keeping the filesystem busy, which
|
|
|
65878a |
+ available any more, thus keeping the file system busy, which
|
|
|
65878a |
then cannot be re-mounted read-only.</para>
|
|
|
65878a |
|
|
|
65878a |
<para>Immediately before executing the actual system
|
|
|
65878a |
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml
|
|
|
65878a |
index 6f9f70c..cadf950 100644
|
|
|
65878a |
--- a/man/systemd.mount.xml
|
|
|
65878a |
+++ b/man/systemd.mount.xml
|
|
|
65878a |
@@ -132,7 +132,10 @@
|
|
|
65878a |
for details). Mounts listed in
|
|
|
65878a |
<filename>/etc/fstab</filename> will be converted into
|
|
|
65878a |
native units dynamically at boot and when the
|
|
|
65878a |
- configuration of the system manager is reloaded. See
|
|
|
65878a |
+ configuration of the system manager is reloaded. In
|
|
|
65878a |
+ general, configuring mount points through
|
|
|
65878a |
+ <filename>/etc/fstab</filename> is the preferred
|
|
|
65878a |
+ approach. See
|
|
|
65878a |
<citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
|
65878a |
for details about the conversion.</para>
|
|
|
65878a |
|
|
|
65878a |
@@ -159,6 +162,21 @@
|
|
|
65878a |
<literal>s</literal>, <literal>min</literal>,
|
|
|
65878a |
<literal>h</literal>, <literal>ms</literal>.</para>
|
|
|
65878a |
|
|
|
65878a |
+ <para>If <option>nofail</option> is given, this mount
|
|
|
65878a |
+ will be only wanted, not required, by the
|
|
|
65878a |
+ <filename>local-fs.target</filename>. This means that
|
|
|
65878a |
+ the boot will continue even if this mount point is not
|
|
|
65878a |
+ mounted successfully. Option <option>fail</option> has
|
|
|
65878a |
+ the opposite meaning and is the default.</para>
|
|
|
65878a |
+
|
|
|
65878a |
+ <para>If <option>noauto</option> is given, this mount
|
|
|
65878a |
+ will not be added as a dependency for
|
|
|
65878a |
+ <filename>local-fs.target</filename>. This means that
|
|
|
65878a |
+ it will not be mounted automatically during boot,
|
|
|
65878a |
+ unless it is pulled in by some other unit. Option
|
|
|
65878a |
+ <option>auto</option> has the opposite meaning and is
|
|
|
65878a |
+ the default.</para>
|
|
|
65878a |
+
|
|
|
65878a |
<para>If a mount point is configured in both
|
|
|
65878a |
<filename>/etc/fstab</filename> and a unit file that
|
|
|
65878a |
is stored below <filename>/usr</filename>, the former
|
|
|
65878a |
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
|
|
|
65878a |
index f6b4b24..4704352 100644
|
|
|
65878a |
--- a/man/systemd.unit.xml
|
|
|
65878a |
+++ b/man/systemd.unit.xml
|
|
|
65878a |
@@ -232,7 +232,7 @@
|
|
|
65878a |
multiple units from a single configuration file. If
|
|
|
65878a |
systemd looks for a unit configuration file, it will
|
|
|
65878a |
first search for the literal unit name in the
|
|
|
65878a |
- filesystem. If that yields no success and the unit
|
|
|
65878a |
+ file system. If that yields no success and the unit
|
|
|
65878a |
name contains an <literal>@</literal> character, systemd will look for a
|
|
|
65878a |
unit template that shares the same name but with the
|
|
|
65878a |
instance string (i.e. the part between the <literal>@</literal> character
|
|
|
65878a |
diff --git a/man/udevadm.xml b/man/udevadm.xml
|
|
|
65878a |
index a1ffe42..ca3713f 100644
|
|
|
65878a |
--- a/man/udevadm.xml
|
|
|
65878a |
+++ b/man/udevadm.xml
|
|
|
65878a |
@@ -461,7 +461,7 @@
|
|
|
65878a |
<varlistentry>
|
|
|
65878a |
<term><option>--root=<replaceable>string</replaceable></option></term>
|
|
|
65878a |
<listitem>
|
|
|
65878a |
- <para>Alternative root path in the filesystem for reading and writing files.</para>
|
|
|
65878a |
+ <para>Alternative root path in the file system for reading and writing files.</para>
|
|
|
65878a |
</listitem>
|
|
|
65878a |
</varlistentry>
|
|
|
65878a |
</variablelist>
|