summaryrefslogtreecommitdiff
path: root/man/systemd-mount.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-06-27 05:07:07 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-06-26 16:07:07 -0400
commit9017f5d88d5061487de53f00a1a8c0a83e41e760 (patch)
treead92d263c27d0f073de0020938b137d12aac7463 /man/systemd-mount.xml
parent217f95db7be3eee6e2b3998cdfd2e86df2c2c66b (diff)
downloadsystemd-9017f5d88d5061487de53f00a1a8c0a83e41e760.tar.gz
systemd-mount: support device names and multiple arguments for umount (#6096)
This makes systemd-umount (or systemd-mount -u) supports multiple arguments which can be path, device, or fstab style node name, like `systemd-umount /path/to/umount /dev/sda1 UUID=xxxxxx-xxxx LABEL=xxxxx`. C.f. https://github.com/systemd/systemd/pull/5235#issuecomment-277731314.
Diffstat (limited to 'man/systemd-mount.xml')
-rw-r--r--man/systemd-mount.xml11
1 files changed, 8 insertions, 3 deletions
diff --git a/man/systemd-mount.xml b/man/systemd-mount.xml
index 71a4ed5a2b..68654f43a6 100644
--- a/man/systemd-mount.xml
+++ b/man/systemd-mount.xml
@@ -62,9 +62,10 @@
<arg choice="plain"><option>--list</option></arg>
</cmdsynopsis>
<cmdsynopsis>
- <command>systemd-umount</command>
+ <command>systemd-mount</command>
<arg choice="opt" rep="repeat"><replaceable>OPTIONS</replaceable></arg>
- <arg choice="plain" rep="repeat"><replaceable>WHERE</replaceable></arg>
+ <arg choice="plain"><option>--umount</option></arg>
+ <arg choice="plain" rep="repeat"><replaceable>WHAT|WHERE</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -253,7 +254,11 @@
<term><option>--umount</option></term>
<listitem><para>Stop the mount and automount units corresponding to the specified mount points
- <replaceable>WHERE</replaceable>.</para>
+ <replaceable>WHERE</replaceable> or the devices <replaceable>WHAT</replaceable>.
+ <command>systemd-mount</command> with this option or <command>systemd-umount</command> can take multiple arguments
+ which can be path, device, or <filename>/etc/fstab</filename> style node name, like
+ <command>systemd-mount --umount /path/to/umount /dev/sda1 UUID=xxxxxx-xxxx LABEL=xxxxx</command>.
+ </para>
</listitem>
</varlistentry>