- Timestamp:
- Nov 12, 2012, 7:37:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/docs/htmldocs/manpages/mount.cifs.8.html
r736 r739 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>mount.cifs</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="mount.cifs"><a name="mount.cifs.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>mount.cifs — mount using the Common Internet File System (CIFS)</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">mount.cifs</code> {service} {mount-point} [-o options]</p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id2 66365"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>mount.cifs mounts a Linux CIFS filesystem. It1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>mount.cifs</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="mount.cifs"><a name="mount.cifs.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>mount.cifs — mount using the Common Internet File System (CIFS)</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">mount.cifs</code> {service} {mount-point} [-o options]</p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id298700"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>mount.cifs mounts a Linux CIFS filesystem. It 2 2 is usually invoked indirectly by 3 3 the <a class="citerefentry" href="mount.8.html"><span class="citerefentry"><span class="refentrytitle">mount</span>(8)</span></a> command when using the … … 26 26 27 27 <span class="emphasis"><em>modinfo cifs</em></span> command displays the version of cifs module. 28 </p></div><div class="refsect1" title="OPTIONS"><a name="id2 66893"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">user=<em class="replaceable"><code>arg</code></em></span></dt><dd><p>specifies the username to connect as. If28 </p></div><div class="refsect1" title="OPTIONS"><a name="id298775"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">user=<em class="replaceable"><code>arg</code></em></span></dt><dd><p>specifies the username to connect as. If 29 29 this is not given, then the environment variable <span class="emphasis"><em>USER</em></span> is used. This option can also take the 30 30 form "user%password" or "workgroup/user" or … … 239 239 </p></dd><dt><span class="term">posixpaths</span></dt><dd><p> 240 240 Inverse of <span class="emphasis"><em>noposixpaths</em></span> 241 </p></dd><dt><span class="term">--verbose</span></dt><dd><p>Print additional debugging information for the mount. Note that this parameter must be specified before the -o. For example:</p><p>mount -t cifs //server/share /mnt --verbose -o user=username</p></dd></dl></div></div><div class="refsect1" title="SERVICE FORMATTING AND DELIMITERS"><a name="id30 7612"></a><h2>SERVICE FORMATTING AND DELIMITERS</h2><p>241 </p></dd><dt><span class="term">--verbose</span></dt><dd><p>Print additional debugging information for the mount. Note that this parameter must be specified before the -o. For example:</p><p>mount -t cifs //server/share /mnt --verbose -o user=username</p></dd></dl></div></div><div class="refsect1" title="SERVICE FORMATTING AND DELIMITERS"><a name="id308149"></a><h2>SERVICE FORMATTING AND DELIMITERS</h2><p> 242 242 It's generally preferred to use forward slashes (/) as a delimiter in service names. They are considered to be the "universal delimiter" since they are generally not allowed to be embedded within path components on Windows machines and the client can convert them to blackslashes (\) unconditionally. Conversely, backslash characters are allowed by POSIX to be part of a path component, and can't be automatically converted in the same way. 243 243 </p><p> 244 244 mount.cifs will attempt to convert backslashes to forward slashes where it's able to do so, but it cannot do so in any path component following the sharename. 245 </p></div><div class="refsect1" title="INODE NUMBERS"><a name="id30 7630"></a><h2>INODE NUMBERS</h2><p>245 </p></div><div class="refsect1" title="INODE NUMBERS"><a name="id308167"></a><h2>INODE NUMBERS</h2><p> 246 246 When Unix Extensions are enabled, we use the actual inode 247 247 number provided by the server in response to the POSIX calls as an … … 263 263 numbers smaller than 2 power 32 on the client. But you may not be able 264 264 to detect hardlinks properly. 265 </p></div><div class="refsect1" title="FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS"><a name="id30 7655"></a><h2>FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS</h2><p> The core CIFS protocol does not provide unix ownership265 </p></div><div class="refsect1" title="FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS"><a name="id308192"></a><h2>FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS</h2><p> The core CIFS protocol does not provide unix ownership 266 266 information or mode for files and directories. Because of this, files 267 267 and directories will generally appear to be owned by whatever values the … … 288 288 altogether via the noperm option. Server-side permission checks cannot be 289 289 overriden. The permission checks done by the server will always correspond to 290 the credentials used to mount the share, and not necessarily to the user who is accessing the share.</p></div><div class="refsect1" title="ENVIRONMENT VARIABLES"><a name="id30 7697"></a><h2>ENVIRONMENT VARIABLES</h2><p>290 the credentials used to mount the share, and not necessarily to the user who is accessing the share.</p></div><div class="refsect1" title="ENVIRONMENT VARIABLES"><a name="id308234"></a><h2>ENVIRONMENT VARIABLES</h2><p> 291 291 The variable <span class="emphasis"><em>USER</em></span> may contain the username of the 292 292 person to be used to authenticate to the server. … … 300 300 of a file to read the password from. A single line of input is 301 301 read and used as the password. 302 </p></div><div class="refsect1" title="NOTES"><a name="id30 7726"></a><h2>NOTES</h2><p>This command may be used only by root, unless installed setuid, in which case the noeexec and nosuid mount flags are enabled. When installed as a setuid program, the program follows the conventions set forth by the mount program for user mounts.</p><p>302 </p></div><div class="refsect1" title="NOTES"><a name="id308262"></a><h2>NOTES</h2><p>This command may be used only by root, unless installed setuid, in which case the noeexec and nosuid mount flags are enabled. When installed as a setuid program, the program follows the conventions set forth by the mount program for user mounts.</p><p> 303 303 Some samba client tools like smbclient(8) honour client-side 304 304 configuration parameters present in smb.conf. Unlike those 305 305 client tools, <span class="emphasis"><em>mount.cifs</em></span> ignores smb.conf 306 306 completely. 307 </p></div><div class="refsect1" title="CONFIGURATION"><a name="id30 7745"></a><h2>CONFIGURATION</h2><p>307 </p></div><div class="refsect1" title="CONFIGURATION"><a name="id308282"></a><h2>CONFIGURATION</h2><p> 308 308 The primary mechanism for making configuration changes and for reading 309 309 debug information for the cifs vfs is via the Linux /proc filesystem. … … 316 316 installation (device driver load). 317 317 For more information see the kernel file <code class="filename">fs/cifs/README</code>. 318 </p></div><div class="refsect1" title="BUGS"><a name="id30 7771"></a><h2>BUGS</h2><p>Mounting using the CIFS URL specification is currently not supported.318 </p></div><div class="refsect1" title="BUGS"><a name="id308308"></a><h2>BUGS</h2><p>Mounting using the CIFS URL specification is currently not supported. 319 319 </p><p>The credentials file does not handle usernames or passwords with 320 320 leading space.</p><p> … … 324 324 when reporting bugs (minimum: mount.cifs (try mount.cifs -V), kernel (see /proc/version) and 325 325 server type you are trying to contact. 326 </p></div><div class="refsect1" title="VERSION"><a name="id30 7790"></a><h2>VERSION</h2><p>This man page is correct for version 1.52 of327 the cifs vfs filesystem (roughly Linux kernel 2.6.24).</p></div><div class="refsect1" title="SEE ALSO"><a name="id30 7801"></a><h2>SEE ALSO</h2><p>326 </p></div><div class="refsect1" title="VERSION"><a name="id308327"></a><h2>VERSION</h2><p>This man page is correct for version 1.52 of 327 the cifs vfs filesystem (roughly Linux kernel 2.6.24).</p></div><div class="refsect1" title="SEE ALSO"><a name="id308338"></a><h2>SEE ALSO</h2><p> 328 328 Documentation/filesystems/cifs.txt and fs/cifs/README in the linux kernel 329 329 source tree may contain additional options and information. 330 </p><p><a class="citerefentry" href="umount.cifs.8.html"><span class="citerefentry"><span class="refentrytitle">umount.cifs</span>(8)</span></a></p></div><div class="refsect1" title="AUTHOR"><a name="id30 7820"></a><h2>AUTHOR</h2><p>Steve French</p><p>The syntax and manpage were loosely based on that of smbmount. It330 </p><p><a class="citerefentry" href="umount.cifs.8.html"><span class="citerefentry"><span class="refentrytitle">umount.cifs</span>(8)</span></a></p></div><div class="refsect1" title="AUTHOR"><a name="id308357"></a><h2>AUTHOR</h2><p>Steve French</p><p>The syntax and manpage were loosely based on that of smbmount. It 331 331 was converted to Docbook/XML by Jelmer Vernooij.</p><p>The maintainer of the Linux cifs vfs and the userspace 332 332 tool <span class="emphasis"><em>mount.cifs</em></span> is <a class="ulink" href="mailto:sfrench@samba.org" target="_top">Steve French</a>.
Note:
See TracChangeset
for help on using the changeset viewer.