/etc/sysconfig/autofs
The /etc/sysconfig/autofs
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.
The /etc/sysconfig/autofs
file may contain the following:
LOCALOPTIONS="
, where<value>
"<value>
is a string for defining machine-specific automount rules. The default value is an empty string (""
).
DAEMONOPTIONS="
, where<value>
"<value>
is the timeout length in seconds before unmounting the device. The default value is 60 seconds ("--timeout=60"
).UNDERSCORETODOT=
, where<value>
<value>
is a binary value that controls whether to convert underscores in file names into dots. For example,auto_home
toauto.home
andauto_mnt
toauto.mnt
. The default value is 1 (true).DISABLE_DIRECT=
, where<value>
<value>
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.