[deployment-guide/comm-rel: 103/727] Updated the /etc/sysconfig/autofs section.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 12:32:50 UTC 2010


commit c79e9a555692e012d7993c3f1340a1125ddd508e
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Thu Jul 22 15:24:57 2010 +0200

    Updated the /etc/sysconfig/autofs section.

 en-US/The_sysconfig_Directory.xml |  179 ++++++++++++++++++++++++++++++++-----
 1 files changed, 156 insertions(+), 23 deletions(-)
---
diff --git a/en-US/The_sysconfig_Directory.xml b/en-US/The_sysconfig_Directory.xml
index d89aae6..0d56fdd 100644
--- a/en-US/The_sysconfig_Directory.xml
+++ b/en-US/The_sysconfig_Directory.xml
@@ -147,30 +147,163 @@
         The <filename>/etc/sysconfig/autofs</filename> file defines custom options for the automatic mounting of devices. This file controls the operation of the automount daemons, which automatically mount file systems when you use them and unmount them after a period of inactivity. File systems can include network file systems, CD-ROMs, diskettes, and other media.
       </para>
       <para>
-        The <filename>/etc/sysconfig/autofs</filename> file may contain the following:
+        By default, it contains the following options:
       </para>
-      <itemizedlist>
-        <listitem>
-          <para>
-            <command>LOCALOPTIONS="<replaceable>&lt;value&gt;</replaceable>"</command>, where <replaceable>&lt;value&gt;</replaceable> is a string for defining machine-specific automount rules. The default value is an empty string (<command>""</command>).
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>DAEMONOPTIONS="<replaceable>&lt;value&gt;</replaceable>"</command>, where <replaceable>&lt;value&gt;</replaceable> is the timeout length in seconds before unmounting the device. The default value is 60 seconds (<command>"--timeout=60"</command>).
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>UNDERSCORETODOT=<replaceable>&lt;value&gt;</replaceable></command>, where <replaceable>&lt;value&gt;</replaceable> is a binary value that controls whether to convert underscores in file names into dots. For example, <command>auto_home</command> to <command>auto.home</command> and <command>auto_mnt</command> to <command>auto.mnt</command>. The default value is 1 (true).
-          </para>
-        </listitem>
-        <listitem>
-          <para>
-            <command>DISABLE_DIRECT=<replaceable>&lt;value&gt;</replaceable></command>, where <replaceable>&lt;value&gt;</replaceable> is a binary value that controls whether to disable direct mount support, as the Linux implementation does not conform to the Sun Microsystems' automounter behavior. The default value is 1 (true), and allows for compatibility with the Sun automounter options specification syntax.
-          </para>
-        </listitem>
-      </itemizedlist>
+      <variablelist>
+        <varlistentry>
+          <term><option>MASTER_MAP_NAME=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The default name for the master map. For example:
+            </para>
+            <screen>MASTER_MAP_NAME="auto.master"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>TIMEOUT=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The default mount timeout. For example:
+            </para>
+            <screen>TIMEOUT=300</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>NEGATIVE_TIMEOUT=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The default negative timeout for unsuccessfull mount attemps. For example:
+            </para>
+            <screen>NEGATIVE_TIMEOUT=60</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>MOUNT_WAIT=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The time to wait for a response from <command>mount</command>. For example:
+            </para>
+            <screen>MOUNT_WAIT=-1</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>UMOUNT_WAIT=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The time to wait for a response from <command>umount</command>. For example:
+            </para>
+            <screen>UMOUNT_WAIT=12</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>BROWSE_MODE=<replaceable>boolean</replaceable></option></term>
+          <listitem>
+            <para>
+              A boolean to enable (<option>yes</option>) or disable (<option>no</option>) browsing the maps. For example:
+            </para>
+            <screen>BROWSE_MODE="no"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>MOUNT_NFS_DEFAULT_PROTOCOL=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The default protocol to be used by <command>mount.nfs</command>. For example:
+            </para>
+            <screen>MOUNT_NFS_DEFAULT_PROTOCOL=4</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>APPEND_OPTIONS=<replaceable>boolean</replaceable></option></term>
+          <listitem>
+            <para>
+              A boolean to enable (<option>yes</option>) or disable (<option>no</option>) appending the global options instead of replacing them. For example:
+            </para>
+            <screen>APPEND_OPTIONS="yes"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>LOGGING=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The default logging level. The <replaceable>value</replaceable> has to be either <option>none</option>, <option>verbose</option>, or <option>debug</option>. For example:
+            </para>
+            <screen>LOGGING="none"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>LDAP_URI=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              A space-separated list of server URIs in the form of <systemitem><replaceable>protocol</replaceable>://<replaceable>server</replaceable></systemitem>. For example:
+            </para>
+            <screen>LDAP_URI="ldaps://ldap.example.com/"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>LDAP_TIMEOUT=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The synchronous API calls timeout. For example:
+            </para>
+            <screen>LDAP_TIMEOUT=-1</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>LDAP_NETWORK_TIMEOUT=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The network response timeout. For example:
+            </para>
+            <screen>LDAP_NETWORK_TIMEOUT=8</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>SEARCH_BASE=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The base Distinguished Name (DN) for the map search. For example:
+            </para>
+            <screen>SEARCH_BASE=""</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>AUTH_CONF_FILE=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The default location of the SASL authentication configuration file. For example:
+            </para>
+            <screen>AUTH_CONF_FILE="/etc/autofs_ldap_auth.conf"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>MAP_HASH_TABLE_SIZE=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              The hash table size for the map cache. For example:
+            </para>
+            <screen>MAP_HASH_TABLE_SIZE=1024</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>USE_MISC_DEVICE=<replaceable>boolean</replaceable></option></term>
+          <listitem>
+            <para>
+              A boolean to enable (<option>yes</option>) or disable (<option>no</option>) using the autofs miscellaneous device. For example:
+            </para>
+            <screen>USE_MISC_DEVICE="yes"</screen>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term><option>OPTIONS=<replaceable>value</replaceable></option></term>
+          <listitem>
+            <para>
+              Additional options to be passed to the LDAP daemon. For example:
+            </para>
+            <screen>OPTIONS=""</screen>
+          </listitem>
+        </varlistentry>
+      </variablelist>
     </section>
     <section id="s2-sysconfig-clock">
       <title><filename>/etc/sysconfig/clock</filename></title>


More information about the docs-commits mailing list