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. Configure AutoFS using either the /etc/rc.config.d/nfsconf or the /etc/default/autofs configuration files. 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, as follows:

    AUTO_MASTER=”/etc/auto_master”

    If the -f option is not specified for the automount command then the Name Service Switch (NSS) is used to get the master map. If the master map is not found in any of the backends, then it tries the default master map name/etc/auto_master. If the -f option is specified for the automount command, then it uses that file irrespective of what the backend says. However, if the file is not found, then it will try the /etc/auto_master file. 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:

    /sbin/init.d/autofs start
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.