diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-mount.xml | 20 | ||||
-rw-r--r-- | man/systemd-suspend.service.xml | 6 |
2 files changed, 23 insertions, 3 deletions
diff --git a/man/systemd-mount.xml b/man/systemd-mount.xml index 06b7c85bd8..ab85dc5640 100644 --- a/man/systemd-mount.xml +++ b/man/systemd-mount.xml @@ -45,7 +45,8 @@ <refnamediv> <refname>systemd-mount</refname> - <refpurpose>Establish a mount or auto-mount point transiently</refpurpose> + <refname>systemd-umount</refname> + <refpurpose>Establish and destroy transient mount or auto-mount points</refpurpose> </refnamediv> <refsynopsisdiv> @@ -60,6 +61,11 @@ <arg choice="opt" rep="repeat"><replaceable>OPTIONS</replaceable></arg> <arg choice="plain"><option>--list</option></arg> </cmdsynopsis> + <cmdsynopsis> + <command>systemd-umount</command> + <arg choice="opt" rep="repeat"><replaceable>OPTIONS</replaceable></arg> + <arg choice="plain" rep="repeat"><replaceable>WHERE</replaceable></arg> + </cmdsynopsis> </refsynopsisdiv> <refsect1> @@ -91,6 +97,9 @@ <para>Use the <option>--list</option> command to show a terse table of all local, known block devices with file systems that may be mounted with this command.</para> + + <para><command>systemd-umount</command> can be used to unmount a mount or automount point. It is the same + as <command>systemd-mount</command> <option>--unmount</option>.</para> </refsect1> <refsect1> @@ -239,6 +248,15 @@ such as labels, etc.</para></listitem> </varlistentry> + <varlistentry> + <term><option>-u</option></term> + <term><option>--unmount</option></term> + + <listitem><para>Stop the mount and automount units corresponding to the specified mount points + <replaceable>WHERE</replaceable>.</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" /> diff --git a/man/systemd-suspend.service.xml b/man/systemd-suspend.service.xml index a8beb86f4d..c7733f2885 100644 --- a/man/systemd-suspend.service.xml +++ b/man/systemd-suspend.service.xml @@ -89,8 +89,10 @@ <para>Note that scripts or binaries dropped in <filename>/usr/lib/systemd/system-sleep/</filename> are intended for local use only and should be considered hacks. If applications - want to be notified of system suspend/hibernation and resume, - there are much nicer interfaces available.</para> + want to react to system suspend/hibernation and resume, + they should rather use the <ulink + url="http://www.freedesktop.org/wiki/Software/systemd/inhibit">Inhibitor + interface</ulink>.</para> <para>Note that <filename>systemd-suspend.service</filename>, |