| United States-English |
|
|
|
![]() |
NFS Services Administrator’s Guide: HP-UX 11i version 3 > Chapter 3 Configuring and Administering AutoFSAutoFS Configuration Changes |
|
This section describes the various methods to configure your AutoFS environment. 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:
Table 3-3 lists the AutoFS configuration variables that you can use to configure your AutoFS environment. Table 3-3 AutoFS Configuration Variables
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. For more information on configuring the NSS, see nsswitch.conf (4) and automount(1M) . To configure AutoFS using the /etc/rc.config.d/nfsconf file, follow these steps:
You can also use the /etc/default/autofs file to configure your AutoFS environment. The /etc/default/autofs file contains parameters for the automountd daemon and the automount command. Initially, the parameters in the /etc/default/autofs file are commented. You must uncomment the parameter to make the value for that parameter take effect. Changes made to the /etc/default/autofs file can be overridden if you modify the AutoFS values from the command line. 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. For more information on configuring the NSS, see nsswitch.conf (4) and automount(1M) . To configure AutoFS using the /etc/default/autofs file, follow these steps:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||