NFS Services Administrator's Guide (B.11.31.04) March 2009

Configuring AutoFS Using the nfsconf File
You can use the /etc/rc.config.d/nfsconf file to configure your AutoFS
environment. The /etc/rc.config.d/nfsconf file is the NFS configuration file.
This file consists of the following sets of variables or parameters:
1. Core Configuration Variables
2. Remote Lock Manager Configuration Variables
3. NFS Client and Server Configuration Variables
4. AutoFS Configuration Variables
Table 3-3 lists the AutoFS configuration variables that you can use to configure your
AutoFS environment.
Table 3-3 AutoFS Configuration Variables
DescriptionVariable Name
Specifies if the system uses AutoFS. Set the value to 1 to specify that this
system uses AutoFS. Set the value to 0 to specify that this system does
not use AutoFS. The default value of AutoFS is 1.
NOTE: If you set the value of AUTOFS to 1, the NFS_CORE core
configuration variable must also be set to 1.
AUTOFS
Specifies a set of options to be passed to the automount command when
it is run. The default value is “ ” .
NOTE: The specified options take effect only if the automount
command is run from the AutoFS startup script.
AUTOMOUNT_OPTIONS
Specifies a set of options to be passed to the automountd daemon when
it is started. The default value is “ ” .
NOTE: The specified options take effect only if the automountd
daemon is run from the AutoFS startup script.
AUTOMOUNTD_OPTIONS
Specifies the name of the AutoFS master map. The default value is /etc/
auto_master.
NOTE: The AUTO_MASTER option can only be used with the /etc/
rc.config.d/nfsconf file.
AUTO_MASTER
When AutoFS starts up, and if the AUTOMOUNT_OPTIONS variable specifies a master
map file with the -f filename option, AutoFS searches for a file by that name on the
local host. It can also use the Name Service Switch (NSS) to determine which name
services are in use. In addition, it determines the master maps that are available from
those name services.
If the AUTOMOUNT_OPTIONS variable does not specify the -f filename option,
AutoFS consults the NSS configuration, to determine where to search for the AutoFS
master map.
AutoFS Configuration Changes 77