Changeset 39 for trunk/samba/docs/manpages/mount.cifs.8
- Timestamp:
- May 27, 2007, 12:26:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/docs/manpages/mount.cifs.8
r1 r39 19 19 .. 20 20 .TH "MOUNT.CIFS" 8 "" "" "" 21 .SH NAME22 mount.cifs \- mount using the Common Internet File System (CIFS)21 .SH "NAME" 22 mount.cifs - mount using the Common Internet File System (CIFS) 23 23 .SH "SYNOPSIS" 24 .ad l25 .hy 026 24 .HP 11 27 \fBmount\&.cifs\fR {service} {mount\-point} [\-o\ options] 28 .ad 29 .hy 30 25 \fBmount.cifs\fR {service} {mount-point} [-o options] 31 26 .SH "DESCRIPTION" 32 33 .PP 34 This tool is part of the \fBsamba\fR(7) suite\&. 35 36 .PP 37 mount\&.cifs mounts a Linux CIFS filesystem\&. It is usually invoked indirectly by the \fBmount\fR(8) command when using the "\-t cifs" option\&. This 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\&. 38 39 .PP 40 The mount\&.cifs utility attaches the UNC name (exported network resource) to the local directory \fBmount\-point\fR\&. It is possible to set the mode for mount\&.cifs to setuid root to allow non\-root users to mount shares to directories for which they have write permission\&. 41 42 .PP 43 Options to \fBmount\&.cifs\fR are specified as a comma\-separated list of key=value pairs\&. It is possible to send options other than those listed here, assuming that the cifs filesystem kernel module (cifs\&.ko) supports them\&. Unrecognized cifs mount options passed to the cifs vfs kernel code will be logged to the kernel log\&. 44 45 .PP 46 \fBmount\&.cifs\fR causes the cifs vfs to launch a thread named cifsd\&. After mounting it keeps running until the mounted resource is unmounted (usually via the umount utility)\&. 47 27 .PP 28 This tool is part of the 29 \fBsamba\fR(7) 30 suite. 31 .PP 32 mount.cifs mounts a Linux CIFS filesystem. It is usually invoked indirectly by the 33 \fBmount\fR(8) 34 command when using the "-t cifs" option. This 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 36 The mount.cifs utility attaches the UNC name (exported network resource) to the local directory 37 \fBmount-point\fR. It is possible to set the mode for mount.cifs to setuid root to allow non-root users to mount shares to directories for which they have write permission. 38 .PP 39 Options to 40 \fBmount.cifs\fR 41 are specified as a comma-separated list of key=value pairs. It is possible to send options other than those listed here, assuming that the cifs filesystem kernel module (cifs.ko) supports them. Unrecognized cifs mount options passed to the cifs vfs kernel code will be logged to the kernel log. 42 .PP 43 \fBmount.cifs\fR 44 causes the cifs vfs to launch a thread named cifsd. After mounting it keeps running until the mounted resource is unmounted (usually via the umount utility). 48 45 .SH "OPTIONS" 49 50 .TP 46 .PP 51 47 user=\fIarg\fR 52 specifies the username to connect as\&. If this is not given, then the environment variable \fBUSER\fR is used\&. This option can also take the form "user%password" or "workgroup/user" or "workgroup/user%password" to allow the password and workgroup to be specified as part of the username\&. 53 54 .RS 55 .Sh "Note" 56 The cifs vfs accepts the parameter \fIuser=\fR, or for users familiar with smbfs it accepts the longer form of the parameter \fIusername=\fR\&. Similarly the longer smbfs style parameter names may be accepted as synonyms for the shorter cifs parameters \fIpass=\fR,\fIdom=\fR and \fIcred=\fR\&. 57 58 .RE 59 60 .TP 48 .RS 3n 49 specifies the username to connect as. If this is not given, then the environment variable 50 \fBUSER\fR 51 is used. This option can also take the form "user%password" or "workgroup/user" or "workgroup/user%password" to allow the password and workgroup to be specified as part of the username. 52 .sp 53 .it 1 an-trap 54 .nr an-no-space-flag 1 55 .nr an-break-flag 1 56 .br 57 \fBNote\fR 58 The cifs vfs accepts the parameter 59 \fIuser=\fR, or for users familiar with smbfs it accepts the longer form of the parameter 60 \fIusername=\fR. Similarly the longer smbfs style parameter names may be accepted as synonyms for the shorter cifs parameters 61 \fIpass=\fR,\fIdom=\fR 62 and 63 \fIcred=\fR. 64 .RE 65 .PP 61 66 password=\fIarg\fR 62 specifies the CIFS password\&. If this option is not given then the environment variable \fBPASSWD\fR is used\&. If the password is not specified directly or indirectly via an argument to mount \fBmount\&.cifs\fR will prompt for a password, unless the guest option is specified\&. 63 64 Note that a password which contains the delimiter character (i\&.e\&. a comma ',') will fail to be parsed correctly on the command line\&. However, the same password defined in the PASSWD environment variable or via a credentials file (see below) or entered at the password prompt will be read correctly\&. 65 66 .TP 67 .RS 3n 68 specifies the CIFS password. If this option is not given then the environment variable 69 \fBPASSWD\fR 70 is used. If the password is not specified directly or indirectly via an argument to mount 71 \fBmount.cifs\fR 72 will prompt for a password, unless the guest option is specified. 73 .sp 74 Note that a password which contains the delimiter character (i.e. a comma ',') will fail to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or via a credentials file (see below) or entered at the password prompt will be read correctly. 75 .RE 76 .PP 67 77 credentials=\fIfilename\fR 68 specifies a file that contains a username and/or password\&. The format of the file is: 69 78 .RS 3n 79 specifies a file that contains a username and/or password. The format of the file is: 70 80 71 81 .nf … … 75 85 76 86 .fi 77 This is preferred over having passwords in plaintext in a shared file, such as \fI/etc/fstab\fR\&. Be sure to protect any credentials file properly\&. 87 This is preferred over having passwords in plaintext in a shared file, such as 88 \fI/etc/fstab\fR. Be sure to protect any credentials file properly. 89 .RE 90 .PP 91 uid=\fIarg\fR 92 .RS 3n 93 sets the uid that will own all files on the mounted filesystem. It may be specified as either a username or a numeric uid. This parameter is ignored when the target server supports the CIFS Unix extensions. 94 .RE 95 .PP 96 gid=\fIarg\fR 97 .RS 3n 98 sets the gid that will own all files on the mounted filesystem. It may be specified as either a groupname or a numeric gid. This parameter is ignored when the target server supports the CIFS Unix extensions. 99 .RE 100 .PP 101 port=\fIarg\fR 102 .RS 3n 103 sets the port number on the server to attempt to contact to negotiate CIFS support. If the CIFS server is not listening on this port or if it is not specified, the default ports will be tried i.e. port 445 is tried and if no response then port 139 is tried. 104 .RE 105 .PP 106 netbiosname=\fIarg\fR 107 .RS 3n 108 When mounting to servers via port 139, specifies the RFC1001 source name to use to represent the client netbios machine name when doing the RFC1001 netbios session initialize. 109 .RE 110 .PP 111 file_mode=\fIarg\fR 112 .RS 3n 113 If the server does not support the CIFS Unix extensions this overrides the default file mode. 114 .RE 115 .PP 116 dir_mode=\fIarg\fR 117 .RS 3n 118 If the server does not support the CIFS Unix extensions this overrides the default mode for directories. 119 .RE 120 .PP 121 ip=\fIarg\fR 122 .RS 3n 123 sets the destination host or IP address. 124 .RE 125 .PP 126 domain=\fIarg\fR 127 .RS 3n 128 sets the domain (workgroup) of the user 129 .RE 130 .PP 131 guest 132 .RS 3n 133 don't prompt for a password 134 .RE 135 .PP 136 iocharset 137 .RS 3n 138 Charset used to convert local path names to and from Unicode. Unicode is used by default for network path names if the server supports it. If iocharset is not specified then the nls_default specified during the local client kernel build will be used. If server does not support Unicode, this parameter is unused. 139 .RE 140 .PP 141 ro 142 .RS 3n 143 mount read-only 144 .RE 145 .PP 146 rw 147 .RS 3n 148 mount read-write 149 .RE 150 .PP 151 setuids 152 .RS 3n 153 If the CIFS Unix extensions are negotiated with the server the client will attempt to set the effective uid and gid of the local process on newly created files, directories, and devices (create, mkdir, mknod). If the CIFS Unix Extensions are not negotiated, for newly created files and directories instead of using the default uid and gid specified on the the mount, cache the new file's uid and gid locally which means that the uid for the file can change when the inode is reloaded (or the user remounts the share). 154 .RE 155 .PP 156 nosetuids 157 .RS 3n 158 The client will not attempt to set the uid and gid on on newly created files, directories, and devices (create, mkdir, mknod) which will result in the server setting the uid and gid to the default (usually the server uid of the user who mounted the share). Letting the server (rather than the client) set the uid and gid is the default.If the CIFS Unix Extensions are not negotiated then the uid and gid for new files will appear to be the uid (gid) of the mounter or the uid (gid) parameter specified on the mount. 159 .RE 160 .PP 161 perm 162 .RS 3n 163 Client does permission checks (vfs_permission check of uid and gid of the file against the mode and desired operation), Note that this is in addition to the normal ACL check on the target machine done by the server software. Client permission checking is enabled by default. 164 .RE 165 .PP 166 noperm 167 .RS 3n 168 Client does not do permission checks. This can expose files on this mount to access by other users on the local client system. It is typically only needed when the server supports the CIFS Unix Extensions but the UIDs/GIDs on the client and server system do not match closely enough to allow access by the user doing the mount. Note that this does not affect the normal ACL check on the target machine done by the server software (of the server ACL against the user name provided at mount time). 169 .RE 170 .PP 171 directio 172 .RS 3n 173 Do not do inode data caching on files opened on this mount. This precludes mmaping files on this mount. In some cases with fast networks and little or no caching benefits on the client (e.g. when the application is doing large sequential reads bigger than page size without rereading the same data) this can provide better performance than the default behavior which caches reads (readahead) and writes (writebehind) through the local Linux client pagecache if oplock (caching token) is granted and held. Note that direct allows write operations larger than page size to be sent to the server. On some kernels this requires the cifs.ko module to be built with the CIFS_EXPERIMENTAL configure option. 174 .RE 175 .PP 176 mapchars 177 .RS 3n 178 Translate six of the seven reserved characters (not backslash, but including the colon, question mark, pipe, asterik, greater than and less than characters) to the remap range (above 0xF000), which also allows the CIFS client to recognize files created with such characters by Windows's POSIX emulation. This can also be useful when mounting to most versions of Samba (which also forbids creating and opening files whose names contain any of these seven characters). This has no effect if the server does not support Unicode on the wire. 179 .RE 180 .PP 181 nomapchars 182 .RS 3n 183 Do not translate any of these seven characters (default) 184 .RE 185 .PP 186 intr 187 .RS 3n 188 currently unimplemented 189 .RE 190 .PP 191 nointr 192 .RS 3n 193 (default) currently unimplemented 194 .RE 195 .PP 196 hard 197 .RS 3n 198 The program accessing a file on the cifs mounted file system will hang when the server crashes. 199 .RE 200 .PP 201 soft 202 .RS 3n 203 (default) The program accessing a file on the cifs mounted file system will not hang when the server crashes and will return errors to the user application. 204 .RE 205 .PP 206 noacl 207 .RS 3n 208 Do not allow POSIX ACL operations even if server would support them. 209 .sp 210 The CIFS client can get and set POSIX ACLs (getfacl, setfacl) to Samba servers version 3.10 and later. Setting POSIX ACLs requires enabling both XATTR and then POSIX support in the CIFS configuration options when building the cifs module. POSIX ACL support can be disabled on a per mount basic by specifying "noacl" on mount. 211 .RE 212 .PP 213 nocase 214 .RS 3n 215 Request case insensitive path name matching (case sensitive is the default if the server suports it). 216 .RE 217 .PP 218 sec= 219 .RS 3n 220 Security mode. Allowed values are: 221 .RS 3n 222 .TP 3n 223 • 224 none attempt to connection as a null user (no name) 225 .TP 3n 226 • 227 krb5 Use Kerberos version 5 authentication 228 .TP 3n 229 • 230 krb5i Use Kerberos authentication and packet signing 231 .TP 3n 232 • 233 ntlm Use NTLM password hashing (default) 234 .TP 3n 235 • 236 ntlmi Use NTLM password hashing with signing (if /proc/fs/cifs/PacketSigningEnabled on or if server requires signing also can be the default) 237 .TP 3n 238 • 239 ntlmv2 Use NTLMv2 password hashing 240 .TP 3n 241 • 242 ntlmv2i Use NTLMv2 password hashing with packet signing 243 .RE 244 .IP "" 3n 245 [NB This [sec parameter] is under development and expected to be available in cifs kernel module 1.40 and later] 246 .RE 247 .PP 248 nobrl 249 .RS 3n 250 Do not send byte range lock requests to the server. This is necessary for certain applications that break with cifs style mandatory byte range locks (and most cifs servers do not yet support requesting advisory byte range locks). 251 .RE 252 .PP 253 sfu 254 .RS 3n 255 When the CIFS Unix Extensions are not negotiated, attempt to create device files and fifos in a format compatible with Services for Unix (SFU). In addition retrieve bits 10-12 of the mode via the SETFILEBITS extended attribute (as SFU does). In the future the bottom 9 bits of the mode mode also will be emulated using queries of the security descriptor (ACL). [NB: requires version 1.39 or later of the CIFS VFS. To recognize symlinks and be able to create symlinks in an SFU interoperable form requires version 1.40 or later of the CIFS VFS kernel module. 256 .RE 257 .PP 258 serverino 259 .RS 3n 260 Use inode numbers (unique persistent file identifiers) returned by the server instead of automatically generating temporary inode numbers on the client. Although server inode numbers make it easier to spot hardlinked files (as they will have the same inode numbers) and inode numbers may be persistent (which is userful for some sofware), the server does not guarantee that the inode numbers are unique if multiple server side mounts are exported under a single share (since inode numbers on the servers might not be unique if multiple filesystems are mounted under the same shared higher level directory). Note that not all servers support returning server inode numbers, although those that support the CIFS Unix Extensions, and Windows 2000 and later servers typically do support this (although not necessarily on every local server filesystem). Parameter has no effect if the server lacks support for returning inode numbers or equivalent. 261 .RE 262 .PP 263 noserverino 264 .RS 3n 265 client generates inode numbers (rather than using the actual one from the server) by default. 266 .RE 267 .PP 268 nouser_xattr 269 .RS 3n 270 (default) Do not allow getfattr/setfattr to get/set xattrs, even if server would support it otherwise. 271 .RE 272 .PP 273 rsize=\fIarg\fR 274 .RS 3n 275 default network read size 276 .RE 277 .PP 278 wsize=\fIarg\fR 279 .RS 3n 280 default network write size 281 .RE 282 .PP 283 --verbose 284 .RS 3n 285 Print additional debugging information for the mount. Note that this parameter must be specified before the -o. For example: 286 .sp 287 mount -t cifs //server/share /mnt --verbose -o user=username 288 .RE 289 .SH "ENVIRONMENT VARIABLES" 290 .PP 291 The variable 292 \fBUSER\fR 293 may contain the username of the person to be used to authenticate to the server. The variable can be used to set both username and password by using the format username%password. 294 .PP 295 The variable 296 \fBPASSWD\fR 297 may contain the password of the person using the client. 298 .PP 299 The variable 300 \fBPASSWD_FILE\fR 301 may contain the pathname of a file to read the password from. A single line of input is read and used as the password. 302 .SH "NOTES" 303 .PP 304 This command may be used only by root, unless installed setuid, in which case the noeexec and nosuid mount flags are enabled. 305 .SH "CONFIGURATION" 306 .PP 307 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 308 \fI/proc/fs/cifs\fR 309 are various configuration files and pseudo files which can display debug information. There are additional startup options such as maximum buffer size and number of buffers which only may be set when the kernel cifs vfs (cifs.ko module) is loaded. These can be seen by running the modinfo utility against the file cifs.ko which will list the options that may be passed to cifs during module installation (device driver load). For more information see the kernel file 310 \fIfs/cifs/README\fR. 311 .SH "BUGS" 312 .PP 313 Mounting using the CIFS URL specification is currently not supported. 314 .PP 315 The credentials file does not handle usernames or passwords with leading space. 316 .PP 317 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: mount.cifs (try mount.cifs -V), kernel (see /proc/version) and server type you are trying to contact. 318 .SH "VERSION" 319 .PP 320 This man page is correct for version 1.39 of the cifs vfs filesystem (roughly Linux kernel 2.6.15). 321 .SH "SEE ALSO" 322 .PP 323 Documentation/filesystems/cifs.txt and fs/cifs/README in the linux kernel source tree may contain additional options and information. 324 .PP 325 \fBumount.cifs\fR(8) 326 .SH "AUTHOR" 327 .PP 328 Steve French 329 .PP 330 The syntax and manpage were loosely based on that of smbmount. It was converted to Docbook/XML by Jelmer Vernooij. 331 .PP 332 The maintainer of the Linux cifs vfs and the userspace tool 333 \fBmount.cifs\fR 334 is 335 Steve French. The 336 Linux CIFS Mailing list 337 is the preferred place to ask questions regarding these programs. 78 338 79 .TP80 uid=\fIarg\fR81 sets the uid that will own all files on the mounted filesystem\&. It may be specified as either a username or a numeric uid\&. This parameter is ignored when the target server supports the CIFS Unix extensions\&.82 83 .TP84 gid=\fIarg\fR85 sets the gid that will own all files on the mounted filesystem\&. It may be specified as either a groupname or a numeric gid\&. This parameter is ignored when the target server supports the CIFS Unix extensions\&.86 87 .TP88 port=\fIarg\fR89 sets the port number on the server to attempt to contact to negotiate CIFS support\&. If the CIFS server is not listening on this port or if it is not specified, the default ports will be tried i\&.e\&. port 445 is tried and if no response then port 139 is tried\&.90 91 .TP92 netbiosname=\fIarg\fR93 When mounting to servers via port 139, specifies the RFC1001 source name to use to represent the client netbios machine name when doing the RFC1001 netbios session initialize\&.94 95 .TP96 file_mode=\fIarg\fR97 If the server does not support the CIFS Unix extensions this overrides the default file mode\&.98 99 .TP100 dir_mode=\fIarg\fR101 If the server does not support the CIFS Unix extensions this overrides the default mode for directories\&.102 103 .TP104 ip=\fIarg\fR105 sets the destination host or IP address\&.106 107 .TP108 domain=\fIarg\fR109 sets the domain (workgroup) of the user110 111 .TP112 guest113 don't prompt for a password114 115 .TP116 iocharset117 Charset used to convert local path names to and from Unicode\&. Unicode is used by default for network path names if the server supports it\&. If iocharset is not specified then the nls_default specified during the local client kernel build will be used\&. If server does not support Unicode, this parameter is unused\&.118 119 .TP120 ro121 mount read\-only122 123 .TP124 rw125 mount read\-write126 127 .TP128 setuids129 If the CIFS Unix extensions are negotiated with the server the client will attempt to set the effective uid and gid of the local process on newly created files, directories, and devices (create, mkdir, mknod)\&. If the CIFS Unix Extensions are not negotiated, for newly created files and directories instead of using the default uid and gid specified on the the mount, cache the new file's uid and gid locally which means that the uid for the file can change when the inode is reloaded (or the user remounts the share)\&.130 131 .TP132 nosetuids133 The client will not attempt to set the uid and gid on on newly created files, directories, and devices (create, mkdir, mknod) which will result in the server setting the uid and gid to the default (usually the server uid of the user who mounted the share)\&. Letting the server (rather than the client) set the uid and gid is the default\&.If the CIFS Unix Extensions are not negotiated then the uid and gid for new files will appear to be the uid (gid) of the mounter or the uid (gid) parameter specified on the mount\&.134 135 .TP136 perm137 Client does permission checks (vfs_permission check of uid and gid of the file against the mode and desired operation), Note that this is in addition to the normal ACL check on the target machine done by the server software\&. Client permission checking is enabled by default\&.138 139 .TP140 noperm141 Client does not do permission checks\&. This can expose files on this mount to access by other users on the local client system\&. It is typically only needed when the server supports the CIFS Unix Extensions but the UIDs/GIDs on the client and server system do not match closely enough to allow access by the user doing the mount\&. Note that this does not affect the normal ACL check on the target machine done by the server software (of the server ACL against the user name provided at mount time)\&.142 143 .TP144 directio145 Do not do inode data caching on files opened on this mount\&. This precludes mmaping files on this mount\&. In some cases with fast networks and little or no caching benefits on the client (e\&.g\&. when the application is doing large sequential reads bigger than page size without rereading the same data) this can provide better performance than the default behavior which caches reads (readahead) and writes (writebehind) through the local Linux client pagecache if oplock (caching token) is granted and held\&. Note that direct allows write operations larger than page size to be sent to the server\&. On some kernels this requires the cifs\&.ko module to be built with the CIFS_EXPERIMENTAL configure option\&.146 147 .TP148 mapchars149 Translate six of the seven reserved characters (not backslash, but including the colon, question mark, pipe, asterik, greater than and less than characters) to the remap range (above 0xF000), which also allows the CIFS client to recognize files created with such characters by Windows's POSIX emulation\&. This can also be useful when mounting to most versions of Samba (which also forbids creating and opening files whose names contain any of these seven characters)\&. This has no effect if the server does not support Unicode on the wire\&.150 151 .TP152 nomapchars153 Do not translate any of these seven characters (default)154 155 .TP156 intr157 currently unimplemented158 159 .TP160 nointr161 (default) currently unimplemented162 163 .TP164 hard165 The program accessing a file on the cifs mounted file system will hang when the server crashes\&.166 167 .TP168 soft169 (default) The program accessing a file on the cifs mounted file system will not hang when the server crashes and will return errors to the user application\&.170 171 .TP172 noacl173 Do not allow POSIX ACL operations even if server would support them\&.174 175 The CIFS client can get and set POSIX ACLs (getfacl, setfacl) to Samba servers version 3\&.10 and later\&. Setting POSIX ACLs requires enabling both XATTR and then POSIX support in the CIFS configuration options when building the cifs module\&. POSIX ACL support can be disabled on a per mount basic by specifying "noacl" on mount\&.176 177 .TP178 nocase179 Request case insensitive path name matching (case sensitive is the default if the server suports it)\&.180 181 .TP182 sec=183 Security mode\&. Allowed values are:184 185 186 .RS187 .TP 3188 \(bu189 none attempt to connection as a null user (no name)190 .TP191 \(bu192 krb5 Use Kerberos version 5 authentication193 .TP194 \(bu195 krb5i Use Kerberos authentication and packet signing196 .TP197 \(bu198 ntlm Use NTLM password hashing (default)199 .TP200 \(bu201 ntlmi Use NTLM password hashing with signing (if /proc/fs/cifs/PacketSigningEnabled on or if server requires signing also can be the default)202 .TP203 \(bu204 ntlmv2 Use NTLMv2 password hashing205 .TP206 \(bu207 ntlmv2i Use NTLMv2 password hashing with packet signing208 .LP209 .RE210 .IP211 [NB This [sec parameter] is under development and expected to be available in cifs kernel module 1\&.40 and later]212 213 .TP214 nobrl215 Do not send byte range lock requests to the server\&. This is necessary for certain applications that break with cifs style mandatory byte range locks (and most cifs servers do not yet support requesting advisory byte range locks)\&.216 217 .TP218 sfu219 When the CIFS Unix Extensions are not negotiated, attempt to create device files and fifos in a format compatible with Services for Unix (SFU)\&. In addition retrieve bits 10\-12 of the mode via the SETFILEBITS extended attribute (as SFU does)\&. In the future the bottom 9 bits of the mode mode also will be emulated using queries of the security descriptor (ACL)\&. [NB: requires version 1\&.39 or later of the CIFS VFS\&. To recognize symlinks and be able to create symlinks in an SFU interoperable form requires version 1\&.40 or later of the CIFS VFS kernel module\&.220 221 .TP222 serverino223 Use inode numbers (unique persistent file identifiers) returned by the server instead of automatically generating temporary inode numbers on the client\&. Although server inode numbers make it easier to spot hardlinked files (as they will have the same inode numbers) and inode numbers may be persistent (which is userful for some sofware), the server does not guarantee that the inode numbers are unique if multiple server side mounts are exported under a single share (since inode numbers on the servers might not be unique if multiple filesystems are mounted under the same shared higher level directory)\&. Note that not all servers support returning server inode numbers, although those that support the CIFS Unix Extensions, and Windows 2000 and later servers typically do support this (although not necessarily on every local server filesystem)\&. Parameter has no effect if the server lacks support for returning inode numbers or equivalent\&.224 225 .TP226 noserverino227 client generates inode numbers (rather than using the actual one from the server) by default\&.228 229 .TP230 nouser_xattr231 (default) Do not allow getfattr/setfattr to get/set xattrs, even if server would support it otherwise\&.232 233 .TP234 rsize=\fIarg\fR235 default network read size236 237 .TP238 wsize=\fIarg\fR239 default network write size240 241 .TP242 \-\-verbose243 Print additional debugging information for the mount\&. Note that this parameter must be specified before the \-o\&. For example:244 245 mount \-t cifs //server/share /mnt \-\-verbose \-o user=username246 247 .SH "ENVIRONMENT VARIABLES"248 249 .PP250 The variable \fBUSER\fR may contain the username of the person to be used to authenticate to the server\&. The variable can be used to set both username and password by using the format username%password\&.251 252 .PP253 The variable \fBPASSWD\fR may contain the password of the person using the client\&.254 255 .PP256 The variable \fBPASSWD_FILE\fR may contain the pathname of a file to read the password from\&. A single line of input is read and used as the password\&.257 258 .SH "NOTES"259 260 .PP261 This command may be used only by root, unless installed setuid, in which case the noeexec and nosuid mount flags are enabled\&.262 263 .SH "CONFIGURATION"264 265 .PP266 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 \fI/proc/fs/cifs\fR are various configuration files and pseudo files which can display debug information\&. There are additional startup options such as maximum buffer size and number of buffers which only may be set when the kernel cifs vfs (cifs\&.ko module) is loaded\&. These can be seen by running the modinfo utility against the file cifs\&.ko which will list the options that may be passed to cifs during module installation (device driver load)\&. For more information see the kernel file \fIfs/cifs/README\fR\&.267 268 .SH "BUGS"269 270 .PP271 Mounting using the CIFS URL specification is currently not supported\&.272 273 .PP274 The credentials file does not handle usernames or passwords with leading space\&.275 276 .PP277 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: mount\&.cifs (try mount\&.cifs \-V), kernel (see /proc/version) and server type you are trying to contact\&.278 279 .SH "VERSION"280 281 .PP282 This man page is correct for version 1\&.39 of the cifs vfs filesystem (roughly Linux kernel 2\&.6\&.15)\&.283 284 .SH "SEE ALSO"285 286 .PP287 Documentation/filesystems/cifs\&.txt and fs/cifs/README in the linux kernel source tree may contain additional options and information\&.288 289 .PP290 \fBumount\&.cifs\fR(8)291 292 .SH "AUTHOR"293 294 .PP295 Steve French296 297 .PP298 The syntax and manpage were loosely based on that of smbmount\&. It was converted to Docbook/XML by Jelmer Vernooij\&.299 300 .PP301 The maintainer of the Linux cifs vfs and the userspace tool \fBmount\&.cifs\fR is Steve French\&. The Linux CIFS Mailing list is the preferred place to ask questions regarding these programs\&.302
Note:
See TracChangeset
for help on using the changeset viewer.