Changeset 134 for branches/samba-3.0/docs/manpages/umount.cifs.8
- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/manpages/umount.cifs.8
r44 r134 1 .\"Generated by db2man.xsl. Don't modify this, modify the source. 2 .de Sh \" Subsection 3 .br 4 .if t .Sp 5 .ne 5 6 .PP 7 \fB\\$1\fR 8 .PP 9 .. 10 .de Sp \" Vertical space (when we can't use .PP) 11 .if t .sp .5v 12 .if n .sp 13 .. 14 .de Ip \" List item 15 .br 16 .ie \\n(.$>=3 .ne \\$3 17 .el .ne 3 18 .IP "\\$1" \\$2 19 .. 20 .TH "UMOUNT.CIFS" 8 "" "" "" 1 .\" Title: umount.cifs 2 .\" Author: 3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> 4 .\" Date: 05/21/2008 5 .\" Manual: System Administration tools 6 .\" Source: Samba 3.0 7 .\" 8 .TH "UMOUNT\.CIFS" "8" "05/21/2008" "Samba 3\.0" "System Administration tools" 9 .\" disable hyphenation 10 .nh 11 .\" disable justification (adjust text to left margin only) 12 .ad l 21 13 .SH "NAME" 22 14 umount.cifs - for normal, non-root users, to unmount their own Common Internet File System (CIFS) mounts 23 15 .SH "SYNOPSIS" 24 16 .HP 1 25 umount .cifs {mount-point} [-nVvhfle]17 umount\.cifs {mount\-point} [\-nVvhfle] 26 18 .SH "DESCRIPTION" 27 19 .PP 28 20 This tool is part of the 29 21 \fBsamba\fR(7) 30 suite .22 suite\. 31 23 .PP 32 umount .cifs unmounts a Linux CIFS filesystem. It can be invoked indirectly by the24 umount\.cifs unmounts a Linux CIFS filesystem\. It can be invoked indirectly by the 33 25 \fBumount\fR(8) 34 command 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.26 command 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 27 .PP 36 The umount .cifs utility detaches the local directory37 \f Bmount-point\fR38 from 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 See28 The umount\.cifs utility detaches the local directory 29 \fImount\-point\fR 30 from 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 31 .PP 40 32 \fBfstab\fR(5) 41 33 .SH "OPTIONS" 42 34 .PP 43 --verbose44 .RS 3n35 \-\-verbose 36 .RS 4 45 37 print additional debugging information 46 38 .RE 47 39 .PP 48 --no-mtab49 .RS 3n40 \-\-no\-mtab 41 .RS 4 50 42 Do not update the mtab even if unmount completes successfully (/proc/mounts will still display the correct information) 51 43 .RE 52 44 .SH "NOTES" 53 45 .PP 54 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/fstab46 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 55 47 .SH "CONFIGURATION" 56 48 .PP 57 The primary mechanism for making configuration changes and for reading debug information for the cifs vfs is via the Linux /proc filesystem . In the directory49 The primary mechanism for making configuration changes and for reading debug information for the cifs vfs is via the Linux /proc filesystem\. In the directory 58 50 \fI/proc/fs/cifs\fR 59 are various configuration files and pseudo files which can display debug information . For more information see the kernel file60 \fIfs/cifs/README\fR .51 are various configuration files and pseudo files which can display debug information\. For more information see the kernel file 52 \fIfs/cifs/README\fR\. 61 53 .SH "BUGS" 62 54 .PP 63 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).55 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)\. 64 56 .PP 65 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.57 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\. 66 58 .PP 67 Note 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.59 Note 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\. 68 60 .SH "VERSION" 69 61 .PP 70 This man page is correct for version 1 .34 of the cifs vfs filesystem (roughly Linux kernel 2.6.12).62 This man page is correct for version 1\.34 of the cifs vfs filesystem (roughly Linux kernel 2\.6\.12)\. 71 63 .SH "SEE ALSO" 72 64 .PP 73 Documentation/filesystems/cifs .txt and fs/cifs/README in the linux kernel source tree may contain additional options and information.65 Documentation/filesystems/cifs\.txt and fs/cifs/README in the linux kernel source tree may contain additional options and information\. 74 66 .PP 75 67 \fBmount.cifs\fR(8) … … 78 70 Steve French 79 71 .PP 80 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 French72 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 81 73 .PP 82 74 The maintainer of the Linux cifs vfs and the userspace tool 83 \f Bumount.cifs\fR75 \fIumount\.cifs\fR 84 76 is 85 Steve French . The77 Steve French\. The 86 78 Linux CIFS Mailing list 87 is the preferred place to ask questions regarding these programs. 88 79 is the preferred place to ask questions regarding these programs\.
Note:
See TracChangeset
for help on using the changeset viewer.