summaryrefslogtreecommitdiff
path: root/man/systemd-mount.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-11-16 15:40:25 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-11-17 16:43:33 +0900
commitdc3364832c13f12438fd334d5f745d9e39fe83da (patch)
tree1410c7c0ae8d231bb5563b9b9ad8a3666cbf7996 /man/systemd-mount.xml
parent83123ab8fd76c9ac7ec7c52d26c282a983acf0e0 (diff)
downloadsystemd-dc3364832c13f12438fd334d5f745d9e39fe83da.tar.gz
mount: add "-G" as shortcut for "--property=CollectMode=inactive-or-failed"
Diffstat (limited to 'man/systemd-mount.xml')
-rw-r--r--man/systemd-mount.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/man/systemd-mount.xml b/man/systemd-mount.xml
index 40dc70fe70..a27326d246 100644
--- a/man/systemd-mount.xml
+++ b/man/systemd-mount.xml
@@ -264,6 +264,21 @@
supported.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>-G</option></term>
+ <term><option>--collect</option></term>
+
+ <listitem><para>Unload the transient unit after it completed, even if it failed. Normally, without this option,
+ all mount units that mount and failed are kept in memory until the user explicitly resets their failure state with
+ <command>systemctl reset-failed</command> or an equivalent command. On the other hand, units that stopped
+ successfully are unloaded immediately. If this option is turned on the "garbage collection" of units is more
+ agressive, and unloads units regardless if they exited successfully or failed. This option is a shortcut for
+ <command>--property=CollectMode=inactive-or-failed</command>, see the explanation for
+ <varname>CollectMode=</varname> in
+ <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry> for further
+ information.</para></listitem>
+ </varlistentry>
+
<xi:include href="user-system-options.xml" xpointer="user" />
<xi:include href="user-system-options.xml" xpointer="system" />
<xi:include href="user-system-options.xml" xpointer="host" />