source: trunk/samba/docs/htmldocs/manpages/umount.cifs.8.html @ 22

Last change on this file since 22 was 1, checked in by Paul Smedley, 14 years ago

Initial code import

File size: 5.7 KB
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>umount.cifs</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="umount.cifs.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>umount.cifs &#8212; for normal, non-root users, to unmount their own Common Internet File System (CIFS) mounts</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">umount.cifs</code>  {mount-point} [-nVvhfle]</p></div></div><div class="refsect1" lang="en"><a name="id230776"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>umount.cifs unmounts a Linux CIFS filesystem. It can be invoked
2indirectly by the
3<a href="umount.8.html"><span class="citerefentry"><span class="refentrytitle">umount</span>(8)</span></a> command
4when umount.cifs is in /sbin directory, unless you specify the "-i" option to umount.  Specifying -i to umount avoids execution of umount helpers such as umount.cifs. The umount.cifs command only works in Linux, and the kernel must
5support the cifs filesystem. The CIFS protocol is the successor to the
6SMB protocol and is supported by most Windows servers and many other
7commercial servers and Network Attached Storage appliances as well as
8by the popular Open Source server Samba.
9        </p><p>
10        The umount.cifs utility detaches the local directory <span class="emphasis"><em>mount-point</em></span> from the corresponding UNC name (exported network resource) and frees the associated kernel resources.
11It is possible to set the mode for umount.cifs to
12setuid root (or equivalently update the /etc/permissions file) to allow non-root users to umount shares to directories for which they have write permission.  The umount.cifs utility is typically
13not needed if unmounts need only be performed by root users, or if user mounts and unmounts
14can rely on specifying explicit entries in /etc/fstab See</p><p><a href="fstab.5.html"><span class="citerefentry"><span class="refentrytitle">fstab</span>(5)</span></a></p></div><div class="refsect1" lang="en"><a name="id231155"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">--verbose</span></dt><dd><p>print additional debugging information</p></dd><dt><span class="term">--no-mtab</span></dt><dd><p>Do not update the mtab even if unmount completes successfully (/proc/mounts will still display the correct information)</p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id231188"></a><h2>NOTES</h2><p>This command is normally intended to be installed setuid (since root users can already run unmount).  An alternative to using umount.cifs is to add specfic entries for the user mounts that you wish a particular user or users to mount and unmount to /etc/fstab</p></div><div class="refsect1" lang="en"><a name="id231201"></a><h2>CONFIGURATION</h2><p>
15The primary mechanism for making configuration changes and for reading
16debug information for the cifs vfs is via the Linux /proc filesystem.
17In the directory <code class="filename">/proc/fs/cifs</code> are various
18configuration files and pseudo files which can display debug information. 
19For more information see the kernel file <code class="filename">fs/cifs/README</code>.
20</p></div><div class="refsect1" lang="en"><a name="id231424"></a><h2>BUGS</h2><p>At this time umount.cifs does not lock the mount table using the same lock as the umount utility does, so do not attempt to do multiple unmounts from different processes (and in particular unmounts of a cifs mount and another type of filesystem mount at the same time).
21        </p><p>If the same mount point is mounted multiple times by cifs, umount.cifs will remove all of the matching entries from the mount table (although umount.cifs will actually only unmount the last one), rather than only removing the last matching entry in /etc/mtab.  The pseudofile /proc/mounts will display correct information though, and the lack of an entry in /etc/mtab does not prevent subsequent unmounts.</p><p>
22Note that the typical response to a bug report is a suggestion
23to try the latest version first. So please try doing that first,
24and always include which versions you use of relevant software
25when reporting bugs (minimum: umount.cifs (try umount.cifs -V), kernel (see /proc/version) and
26server type you are trying to contact.
27</p></div><div class="refsect1" lang="en"><a name="id231449"></a><h2>VERSION</h2><p>This man page is correct for version 1.34 of
28        the cifs vfs filesystem (roughly Linux kernel 2.6.12).</p></div><div class="refsect1" lang="en"><a name="id231460"></a><h2>SEE ALSO</h2><p>
29        Documentation/filesystems/cifs.txt and fs/cifs/README in the linux kernel
30        source tree may contain additional options and information.
31</p><p><a href="mount.cifs.8.html"><span class="citerefentry"><span class="refentrytitle">mount.cifs</span>(8)</span></a></p></div><div class="refsect1" lang="en"><a name="id231480"></a><h2>AUTHOR</h2><p>Steve French</p><p>The syntax was loosely based on the umount utility and the manpage was loosely based on that of mount.cifs.8. The man page was created by Steve French</p><p>The maintainer of the Linux cifs vfs and the userspace
32                tool <span class="emphasis"><em>umount.cifs</em></span> is <a href="" target="_top">Steve French</a>.
33                The <a href="" target="_top">Linux CIFS Mailing list</a> 
34                is the preferred place to ask questions regarding these programs.
35        </p></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.