summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShirish Pargaonkar <shirishpargaonkar@gmail.com>2009-07-08 07:43:43 -0400
committerJeff Layton <jlayton@redhat.com>2009-07-08 07:43:43 -0400
commit31bd62727dcba38c101ea0035f4b2898571ab149 (patch)
tree0ee55e56f114a276981b0afb43d9bc4d1d76bf50
parent57afa1edebe38ea48be5fc074a8284c762e35e17 (diff)
downloadsamba-31bd62727dcba38c101ea0035f4b2898571ab149.tar.gz
samba-31bd62727dcba38c101ea0035f4b2898571ab149.tar.bz2
samba-31bd62727dcba38c101ea0035f4b2898571ab149.zip
docs: flesh out options section of umount.cifs manpage
Signed-off-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Signed-off-by: Jeff Layton <jlayton@redhat.com>
-rw-r--r--docs-xml/manpages-3/umount.cifs.8.xml56
1 files changed, 49 insertions, 7 deletions
diff --git a/docs-xml/manpages-3/umount.cifs.8.xml b/docs-xml/manpages-3/umount.cifs.8.xml
index d845d385e3..319c437610 100644
--- a/docs-xml/manpages-3/umount.cifs.8.xml
+++ b/docs-xml/manpages-3/umount.cifs.8.xml
@@ -54,14 +54,56 @@ can rely on specifying explicit entries in /etc/fstab See</para>
<refsect1>
<title>OPTIONS</title>
<variablelist>
- <varlistentry>
- <term>--verbose</term>
- <listitem><para>print additional debugging information</para></listitem>
- </varlistentry>
- <varlistentry>
- <term>--no-mtab</term>
+ <varlistentry>
+ <term>-V</term>
+ <listitem><para>Print version and exit.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-h</term>
+ <listitem><para>Print help message and exit.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-r</term>
+ <listitem><para>In case unmounting fails, try to remount
+ read-only.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-d</term>
+ <listitem><para>In case the unmounted device was a loop device,
+ also free this loop device.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-f</term>
+ <listitem><para>Force unmount (in case of an unreachable
+ server).</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-l</term>
+ <listitem><para>Lazy unmount. Detach the filesystem from
+ the filesysetm hierarchy now, and
+ cleanup all references to the filesystem
+ as soon as it is not busy anymore.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-e</term>
+ <listitem><para>Mark the mount point as expired. If a mount
+ point is not currently in use, then an initial
+ call to unmount with this flag fails with the
+ error EAGAIN, but marks the mount point as
+ expired. The mount point remains expired as
+ long as it isn't accessed by any process.
+ A second unmount call specifying -e unmounts
+ an expired mount point. This flag cannot be
+ specified with either -f or -l</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-v|--verbose</term>
+ <listitem><para>Verbose Mode. Print additional debugging information</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-n|--no-mtab</term>
<listitem><para>Do not update the mtab even if unmount completes successfully (/proc/mounts will still display the correct information)</para></listitem>
- </varlistentry>
+ </varlistentry>
</variablelist>
</refsect1>