- Timestamp:
- May 27, 2009, 9:08:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/docs/htmldocs/manpages/mount.cifs.8.html
r226 r231 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.7 3.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><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"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">mount.cifs</code> {service} {mount-point} [-o options]</p></div></div><div class="refsect1" lang="en"><a name="id2518332"></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.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><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"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">mount.cifs</code> {service} {mount-point} [-o options]</p></div></div><div class="refsect1" lang="en"><a name="id2522954"></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 … … 8 8 by the popular Open Source server Samba. 9 9 </p><p> 10 The mount.cifs utility attaches the UNC name (exported network resource) to 11 the local directory <span class="emphasis"><em>mount-point</em></span>. It is possible to set the mode for mount.cifs to 12 setuid root to allow non-root users to mount shares to directories for which they 13 have write permission. 10 The mount.cifs utility attaches the UNC name (exported network resource) 11 specified as <span class="emphasis"><em>service</em></span> (using //server/share syntax, 12 where "server" is the server name or IP address and "share" is the name 13 of the share) to the local directory <span class="emphasis"><em>mount-point</em></span>. 14 It is possible to set the mode for mount.cifs to setuid root to allow 15 non-root users to mount shares to directories for which they 16 have write permission. 14 17 </p><p> 15 18 Options to <span class="emphasis"><em>mount.cifs</em></span> are specified as a comma-separated … … 21 24 </p><p><span class="emphasis"><em>mount.cifs</em></span> causes the cifs vfs to launch a thread named cifsd. After mounting it keeps running until 22 25 the mounted resource is unmounted (usually via the umount utility). 23 </p></div><div class="refsect1" lang="en"><a name="id248 0180"></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. If26 </p></div><div class="refsect1" lang="en"><a name="id2483399"></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 24 27 this is not given, then the environment variable <span class="emphasis"><em>USER</em></span> is used. This option can also take the 25 28 form "user%password" or "workgroup/user" or … … 30 33 </p></div></dd><dt><span class="term">password=<em class="replaceable"><code>arg</code></em></span></dt><dd><p>specifies the CIFS password. If this 31 34 option is not given then the environment variable 32 <span class="emphasis"><em>PASSWD</em></span> is used. If the password is not specified 35 <span class="emphasis"><em>PASSWD</em></span> is used. If the password is not specified 33 36 directly or indirectly via an argument to mount, <span class="emphasis"><em>mount.cifs</em></span> will prompt 34 37 for a password, unless the guest option is specified. … … 40 43 </p></dd><dt><span class="term">credentials=<em class="replaceable"><code>filename</code></em></span></dt><dd><p> 41 44 specifies a file that contains a username 42 and/or password. The format of the file is: 45 and/or password and optionally the name of the 46 workgroup. The format of the file is: 43 47 </p><pre class="programlisting"> 44 48 username=<em class="replaceable"><code>value</code></em> 45 49 password=<em class="replaceable"><code>value</code></em> 50 workgroup=<em class="replaceable"><code>value</code></em> 46 51 </pre><p> 47 52 This is preferred over having passwords in plaintext in a … … 214 219 </p></dd><dt><span class="term">wsize=<em class="replaceable"><code>arg</code></em></span></dt><dd><p>default network write size (default 57344) 215 220 maximum wsize currently allowed by CIFS is 57344 (fourteen 216 4096 byte pages)</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" lang="en"><a name="id2 527771"></a><h2>SERVICE FORMATTING AND DELIMITERS</h2><p>221 4096 byte pages)</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" lang="en"><a name="id2481469"></a><h2>SERVICE FORMATTING AND DELIMITERS</h2><p> 217 222 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. 218 223 </p><p> 219 224 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. 220 </p></div><div class="refsect1" lang="en"><a name="id2 527795"></a><h2>ENVIRONMENT VARIABLES</h2><p>225 </p></div><div class="refsect1" lang="en"><a name="id2481910"></a><h2>ENVIRONMENT VARIABLES</h2><p> 221 226 The variable <span class="emphasis"><em>USER</em></span> may contain the username of the 222 227 person to be used to authenticate to the server. … … 230 235 of a file to read the password from. A single line of input is 231 236 read and used as the password. 232 </p></div><div class="refsect1" lang="en"><a name="id2 527830"></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.</p></div><div class="refsect1" lang="en"><a name="id2527842"></a><h2>CONFIGURATION</h2><p>237 </p></div><div class="refsect1" lang="en"><a name="id2481944"></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.</p></div><div class="refsect1" lang="en"><a name="id2481956"></a><h2>CONFIGURATION</h2><p> 233 238 The primary mechanism for making configuration changes and for reading 234 239 debug information for the cifs vfs is via the Linux /proc filesystem. … … 241 246 installation (device driver load). 242 247 For more information see the kernel file <code class="filename">fs/cifs/README</code>. 243 </p></div><div class="refsect1" lang="en"><a name="id2 527874"></a><h2>BUGS</h2><p>Mounting using the CIFS URL specification is currently not supported.248 </p></div><div class="refsect1" lang="en"><a name="id2481989"></a><h2>BUGS</h2><p>Mounting using the CIFS URL specification is currently not supported. 244 249 </p><p>The credentials file does not handle usernames or passwords with 245 250 leading space.</p><p> … … 249 254 when reporting bugs (minimum: mount.cifs (try mount.cifs -V), kernel (see /proc/version) and 250 255 server type you are trying to contact. 251 </p></div><div class="refsect1" lang="en"><a name="id2 527899"></a><h2>VERSION</h2><p>This man page is correct for version 1.52 of252 the cifs vfs filesystem (roughly Linux kernel 2.6.24).</p></div><div class="refsect1" lang="en"><a name="id2 527911"></a><h2>SEE ALSO</h2><p>256 </p></div><div class="refsect1" lang="en"><a name="id2482014"></a><h2>VERSION</h2><p>This man page is correct for version 1.52 of 257 the cifs vfs filesystem (roughly Linux kernel 2.6.24).</p></div><div class="refsect1" lang="en"><a name="id2482026"></a><h2>SEE ALSO</h2><p> 253 258 Documentation/filesystems/cifs.txt and fs/cifs/README in the linux kernel 254 259 source tree may contain additional options and information. 255 </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" lang="en"><a name="id2 527932"></a><h2>AUTHOR</h2><p>Steve French</p><p>The syntax and manpage were loosely based on that of smbmount. It260 </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" lang="en"><a name="id2482047"></a><h2>AUTHOR</h2><p>Steve French</p><p>The syntax and manpage were loosely based on that of smbmount. It 256 261 was converted to Docbook/XML by Jelmer Vernooij.</p><p>The maintainer of the Linux cifs vfs and the userspace 257 262 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.