source: branches/samba-3.2.x/docs-xml/manpages-3/umount.cifs.8.xml@ 1010

Last change on this file since 1010 was 203, checked in by Herwig Bauernfeind, 16 years ago

Missing 3.2.2 client and HOWTO files

File size: 5.7 KB
Line 
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
35indirectly by the
36<citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry> command
37when 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
38support the cifs filesystem. The CIFS protocol is the successor to the
39SMB protocol and is supported by most Windows servers and many other
40commercial servers and Network Attached Storage appliances as well as
41by 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.
46It is possible to set the mode for umount.cifs to
47setuid 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
48not needed if unmounts need only be performed by root users, or if user mounts and unmounts
49can 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>
78The primary mechanism for making configuration changes and for reading
79debug information for the cifs vfs is via the Linux /proc filesystem.
80In the directory <filename>/proc/fs/cifs</filename> are various
81configuration files and pseudo files which can display debug information.
82For 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>
95Note that the typical response to a bug report is a suggestion
96to try the latest version first. So please try doing that first,
97and always include which versions you use of relevant software
98when reporting bugs (minimum: umount.cifs (try umount.cifs -V), kernel (see /proc/version) and
99server 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>
Note: See TracBrowser for help on using the repository browser.