source: branches/samba-3.2.x/docs/manpages/umount.cifs.8@ 229

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

Update 3.2 branch to 3.2.7 docs

File size: 4.4 KB
Line 
1.\" Title: umount.cifs
2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
4.\" Date: 12/19/2008
5.\" Manual: System Administration tools
6.\" Source: Samba 3.2
7.\"
8.TH "UMOUNT\.CIFS" "8" "12/19/2008" "Samba 3\.2" "System Administration tools"
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "NAME"
14umount.cifs - for normal, non-root users, to unmount their own Common Internet File System (CIFS) mounts
15.SH "SYNOPSIS"
16.HP 1
17umount\.cifs {mount\-point} [\-nVvhfle]
18.SH "DESCRIPTION"
19.PP
20This tool is part of the
21\fBsamba\fR(7)
22suite\.
23.PP
24umount\.cifs unmounts a Linux CIFS filesystem\. It can be invoked indirectly by the
25\fBumount\fR(8)
26command 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 support the cifs filesystem\. The CIFS protocol is the successor to the SMB protocol and is supported by most Windows servers and many other commercial servers and Network Attached Storage appliances as well as by the popular Open Source server Samba\.
27.PP
28The umount\.cifs utility detaches the local directory
29\fImount\-point\fR
30from the corresponding UNC name (exported network resource) and frees the associated kernel resources\. It is possible to set the mode for umount\.cifs to 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 not needed if unmounts need only be performed by root users, or if user mounts and unmounts can rely on specifying explicit entries in /etc/fstab See
31.PP
32\fBfstab\fR(5)
33.SH "OPTIONS"
34.PP
35\-\-verbose
36.RS 4
37print additional debugging information
38.RE
39.PP
40\-\-no\-mtab
41.RS 4
42Do not update the mtab even if unmount completes successfully (/proc/mounts will still display the correct information)
43.RE
44.SH "NOTES"
45.PP
46This 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
47.SH "CONFIGURATION"
48.PP
49The primary mechanism for making configuration changes and for reading debug information for the cifs vfs is via the Linux /proc filesystem\. In the directory
50\fI/proc/fs/cifs\fR
51are various configuration files and pseudo files which can display debug information\. For more information see the kernel file
52\fIfs/cifs/README\fR\.
53.SH "BUGS"
54.PP
55At 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)\.
56.PP
57If 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\.
58.PP
59Note that the typical response to a bug report is a suggestion to try the latest version first\. So please try doing that first, and always include which versions you use of relevant software when reporting bugs (minimum: umount\.cifs (try umount\.cifs \-V), kernel (see /proc/version) and server type you are trying to contact\.
60.SH "VERSION"
61.PP
62This man page is correct for version 1\.34 of the cifs vfs filesystem (roughly Linux kernel 2\.6\.12)\.
63.SH "SEE ALSO"
64.PP
65Documentation/filesystems/cifs\.txt and fs/cifs/README in the linux kernel source tree may contain additional options and information\.
66.PP
67\fBmount.cifs\fR(8)
68.SH "AUTHOR"
69.PP
70Steve French
71.PP
72The 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
73.PP
74The maintainer of the Linux cifs vfs and the userspace tool
75\fIumount\.cifs\fR
76is
77Steve French\. The
78Linux CIFS Mailing list
79is the preferred place to ask questions regarding these programs\.
Note: See TracBrowser for help on using the repository browser.