Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
NFS Services Administrator's Guide: HP-UX 11i version 3 > Chapter 3 Configuring and Administering AutoFS

Enabling AutoFS

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To enable AutoFS, follow these steps:

  1. In the /etc/rc.config.d/nfsconf file, set the value of AUTOFS variables to 1, as follows:

    AUTOFS=1

  2. If you use a local file as the master map, ensure that the AUTO_MASTER variable in /etc/rc.config.d/nfsconf is set to the name of the master map. (The default master map name is /etc/auto_master).

    AUTO_MASTER=”/etc/auto_master”

    If you use an NIS AutoFS master map, ensure that -f $AUTO_MASTER is not present in the AUTOMOUNT_OPTIONS variable.

  3. To run the AutoFS startup script, enter the following command at the HP-UX prompt:

    /sbin/init.d/autofs start

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 to determine which name services are in use, and 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 Name Service Switch configuration, to determine where to search for the AutoFS master map.

For more information on configuring the name service switch, see nsswitch.conf (4) and automount (1M).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007 Hewlett-Packard Development Company, L.P.