s3-docs: fix typos in locator manpage found by metze.
[kai/samba-autobuild/.git] / docs-xml / manpages-3 / umount.cifs.8.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="umount.cifs.8">
4
5 <refmeta>
6         <refentrytitle>umount.cifs</refentrytitle>
7         <manvolnum>8</manvolnum>
8         <refmiscinfo class="source">Samba</refmiscinfo>
9         <refmiscinfo class="manual">System Administration tools</refmiscinfo>
10         <refmiscinfo class="version">3.2</refmiscinfo>
11 </refmeta>
12
13
14 <refnamediv>
15         <refname>umount.cifs</refname>
16         <refpurpose>for normal, non-root users, to unmount their own Common Internet File System (CIFS) mounts</refpurpose>
17 </refnamediv>
18
19 <refsynopsisdiv>
20         <cmdsynopsis>
21
22                 <command>umount.cifs</command>
23                 <arg choice="req">mount-point</arg>     
24                 <arg choice="opt">-nVvhfle</arg>        
25         </cmdsynopsis>
26 </refsynopsisdiv>
27
28 <refsect1>
29         <title>DESCRIPTION</title>
30
31         <para>This tool is part of the <citerefentry><refentrytitle>samba</refentrytitle>
32         <manvolnum>7</manvolnum></citerefentry> suite.</para>
33
34         <para>umount.cifs unmounts a Linux CIFS filesystem. It can be invoked
35 indirectly by the
36 <citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry> command 
37 when 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
38 support the cifs filesystem. The CIFS protocol is the successor to the 
39 SMB protocol and is supported by most Windows servers and many other
40 commercial servers and Network Attached Storage appliances as well as 
41 by the popular Open Source server Samba.
42         </para>
43
44         <para>
45         The umount.cifs utility detaches the local directory <emphasis>mount-point</emphasis> from the corresponding UNC name (exported network resource) and frees the associated kernel resources.
46 It is possible to set the mode for umount.cifs to 
47 setuid 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
48 not needed if unmounts need only be performed by root users, or if user mounts and unmounts
49 can rely on specifying explicit entries in /etc/fstab See</para>
50         <para><citerefentry><refentrytitle>fstab</refentrytitle>
51         <manvolnum>5</manvolnum></citerefentry></para>
52 </refsect1>
53
54 <refsect1>
55         <title>OPTIONS</title>
56         <variablelist>
57         <varlistentry>
58                 <term>--verbose</term>
59                 <listitem><para>print additional debugging information</para></listitem>
60         </varlistentry>
61         <varlistentry>
62                 <term>--no-mtab</term>
63                 <listitem><para>Do not update the mtab even if unmount completes successfully (/proc/mounts will still display the correct information)</para></listitem>
64         </varlistentry>
65
66         </variablelist>
67 </refsect1>
68
69 <refsect1>
70         <title>NOTES</title>
71         
72         <para>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</para>
73 </refsect1>
74
75 <refsect1>
76         <title>CONFIGURATION</title>
77                 <para>
78 The primary mechanism for making configuration changes and for reading 
79 debug information for the cifs vfs is via the Linux /proc filesystem.
80 In the directory <filename>/proc/fs/cifs</filename> are various 
81 configuration files and pseudo files which can display debug information.  
82 For more information see the kernel file <filename>fs/cifs/README</filename>.
83 </para>
84 </refsect1>
85
86 <refsect1>
87         <title>BUGS</title>
88
89         <para>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).
90         </para>
91
92         <para>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.</para>
93
94         <para>
95 Note that the typical response to a bug report is a suggestion
96 to try the latest version first. So please try doing that first,
97 and always include which versions you use of relevant software
98 when reporting bugs (minimum: umount.cifs (try umount.cifs -V), kernel (see /proc/version) and
99 server type you are trying to contact.
100 </para>
101 </refsect1>
102
103
104
105 <refsect1>
106         <title>VERSION</title>
107
108         <para>This man page is correct for version 1.34 of 
109         the cifs vfs filesystem (roughly Linux kernel 2.6.12).</para>
110 </refsect1>
111
112 <refsect1>
113         <title>SEE ALSO</title>
114         <para>
115         Documentation/filesystems/cifs.txt and fs/cifs/README in the linux kernel
116         source tree may contain additional options and information.
117 </para>
118         <para><citerefentry><refentrytitle>mount.cifs</refentrytitle>
119         <manvolnum>8</manvolnum></citerefentry></para>
120
121 </refsect1>
122
123 <refsect1>
124         <title>AUTHOR</title>
125         
126         <para>Steve French</para>
127
128         <para>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</para> 
129         <para>The maintainer of the Linux cifs vfs and the userspace
130                 tool <emphasis>umount.cifs</emphasis> is <ulink url="mailto:sfrench@samba.org">Steve French</ulink>.
131                 The <ulink url="mailto:linux-cifs-client@lists.samba.org">Linux CIFS Mailing list</ulink> 
132                 is the preferred place to ask questions regarding these programs. 
133         </para>
134
135 </refsect1>
136
137 </refentry>