Ignore:
Timestamp:
May 27, 2009, 9:08:03 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8 docs

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.73.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 &#8212; 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. It
     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.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 &#8212; 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
    22is usually invoked indirectly by
    33the <a class="citerefentry" href="mount.8.html"><span class="citerefentry"><span class="refentrytitle">mount</span>(8)</span></a> command when using the
     
    88by the popular Open Source server Samba.
    99        </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.
    1417        </p><p>
    1518                Options to <span class="emphasis"><em>mount.cifs</em></span> are specified as a comma-separated
     
    2124        </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
    2225                the mounted resource is unmounted (usually via the umount utility).
    23         </p></div><div class="refsect1" lang="en"><a name="id2480180"></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
     26        </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
    2427                                this is not given, then the environment variable <span class="emphasis"><em>USER</em></span> is used. This option can also take the
    2528form "user%password" or "workgroup/user" or
     
    3033        </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
    3134option 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
    3336directly or indirectly via an argument to mount, <span class="emphasis"><em>mount.cifs</em></span> will prompt
    3437for a password, unless the guest option is specified.
     
    4043</p></dd><dt><span class="term">credentials=<em class="replaceable"><code>filename</code></em></span></dt><dd><p>
    4144                                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:
    4347                        </p><pre class="programlisting">
    4448                username=<em class="replaceable"><code>value</code></em>
    4549                password=<em class="replaceable"><code>value</code></em>
     50                workgroup=<em class="replaceable"><code>value</code></em>
    4651</pre><p>
    4752This is preferred over having passwords in plaintext in a
     
    214219                </p></dd><dt><span class="term">wsize=<em class="replaceable"><code>arg</code></em></span></dt><dd><p>default network write size (default 57344)
    215220                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="id2527771"></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>
    217222                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.
    218223        </p><p>
    219224                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="id2527795"></a><h2>ENVIRONMENT VARIABLES</h2><p>
     225        </p></div><div class="refsect1" lang="en"><a name="id2481910"></a><h2>ENVIRONMENT VARIABLES</h2><p>
    221226                The variable <span class="emphasis"><em>USER</em></span> may contain the username of the
    222227person to be used to authenticate to the server.
     
    230235of a file to read the password from. A single line of input is
    231236read and used as the password.
    232         </p></div><div class="refsect1" lang="en"><a name="id2527830"></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>
    233238The primary mechanism for making configuration changes and for reading
    234239debug information for the cifs vfs is via the Linux /proc filesystem.
     
    241246installation (device driver load).
    242247For more information see the kernel file <code class="filename">fs/cifs/README</code>.
    243 </p></div><div class="refsect1" lang="en"><a name="id2527874"></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.
    244249        </p><p>The credentials file does not handle usernames or passwords with
    245250                leading space.</p><p>
     
    249254when reporting bugs (minimum: mount.cifs (try mount.cifs -V), kernel (see /proc/version) and
    250255server type you are trying to contact.
    251 </p></div><div class="refsect1" lang="en"><a name="id2527899"></a><h2>VERSION</h2><p>This man page is correct for version 1.52 of
    252         the cifs vfs filesystem (roughly Linux kernel 2.6.24).</p></div><div class="refsect1" lang="en"><a name="id2527911"></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>
    253258        Documentation/filesystems/cifs.txt and fs/cifs/README in the linux kernel
    254259        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="id2527932"></a><h2>AUTHOR</h2><p>Steve French</p><p>The syntax and manpage were loosely based on that of smbmount. It
     260</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
    256261                was converted to Docbook/XML by Jelmer Vernooij.</p><p>The maintainer of the Linux cifs vfs and the userspace
    257262                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.