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