source: branches/samba-3.5.x/docs/manpages/umount.cifs.8@ 739

Last change on this file since 739 was 739, checked in by Silvan Scherrer, 13 years ago

Samba Server 3.5: update branche to 3.5.19

File size: 5.8 KB
Line 
1'\" t
2.\" Title: umount.cifs
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5.\" Date: 11/01/2012
6.\" Manual: System Administration tools
7.\" Source: Samba 3.5
8.\" Language: English
9.\"
10.TH "UMOUNT\&.CIFS" "8" "11/01/2012" "Samba 3\&.5" "System Administration tools"
11.\" -----------------------------------------------------------------
12.\" * set default formatting
13.\" -----------------------------------------------------------------
14.\" disable hyphenation
15.nh
16.\" disable justification (adjust text to left margin only)
17.ad l
18.\" -----------------------------------------------------------------
19.\" * MAIN CONTENT STARTS HERE *
20.\" -----------------------------------------------------------------
21.SH "NAME"
22umount.cifs \- for normal, non\-root users, to unmount their own Common Internet File System (CIFS) mounts
23.SH "SYNOPSIS"
24.HP \w'\ 'u
25umount\&.cifs {mount\-point} [\-nVvhfle]
26.SH "DESCRIPTION"
27.PP
28This tool is part of the
29\fBsamba\fR(7)
30suite\&.
31.PP
32umount\&.cifs unmounts a Linux CIFS filesystem\&. It can be invoked indirectly by the
33\fBumount\fR(8)
34command 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\&.
35.PP
36The umount\&.cifs utility detaches the local directory
37\fImount\-point\fR
38from 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
39.PP
40\fBfstab\fR(5)
41.SH "OPTIONS"
42.PP
43\-V
44.RS 4
45Print version and exit\&.
46.RE
47.PP
48\-h
49.RS 4
50Print help message and exit\&.
51.RE
52.PP
53\-r
54.RS 4
55In case unmounting fails, try to remount read\-only\&.
56.RE
57.PP
58\-d
59.RS 4
60In case the unmounted device was a loop device, also free this loop device\&.
61.RE
62.PP
63\-f
64.RS 4
65Force unmount (in case of an unreachable server)\&.
66.RE
67.PP
68\-l
69.RS 4
70Lazy unmount\&. Detach the filesystem from the filesysetm hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore\&.
71.RE
72.PP
73\-e
74.RS 4
75Mark 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
76.RE
77.PP
78\-v|\-\-verbose
79.RS 4
80Verbose Mode\&. Print additional debugging information
81.RE
82.PP
83\-n|\-\-no\-mtab
84.RS 4
85Do not update the mtab even if unmount completes successfully (/proc/mounts will still display the correct information)
86.RE
87.SH "NOTES"
88.PP
89This 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
90.SH "CONFIGURATION"
91.PP
92The primary mechanism for making configuration changes and for reading debug information for the cifs vfs is via the Linux /proc filesystem\&. In the directory
93/proc/fs/cifs
94are various configuration files and pseudo files which can display debug information\&. For more information see the kernel file
95fs/cifs/README\&.
96.SH "BUGS"
97.PP
98At 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)\&.
99.PP
100If 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\&.
101.PP
102Note 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\&.
103.SH "VERSION"
104.PP
105This man page is correct for version 1\&.34 of the cifs vfs filesystem (roughly Linux kernel 2\&.6\&.12)\&.
106.SH "SEE ALSO"
107.PP
108Documentation/filesystems/cifs\&.txt and fs/cifs/README in the linux kernel source tree may contain additional options and information\&.
109.PP
110\fBmount.cifs\fR(8)
111.SH "AUTHOR"
112.PP
113Steve French
114.PP
115The 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
116.PP
117The maintainer of the Linux cifs vfs and the userspace tool
118\fIumount\&.cifs\fR
119is
120Steve French\&. The
121Linux CIFS Mailing list
122is the preferred place to ask questions regarding these programs\&.
Note: See TracBrowser for help on using the repository browser.