NFS Services Administrator's Guide
Configuring and Administering NFS
Configuring and Administering AutoFS
Chapter 296
Migrating From Automounter to AutoFS
If you were using the automounter before you updated to the HP-UX
Extension Pack Release, August 1998, you must perform the following
tasks to migrate your automounter configuration to AutoFS:
For more information, see the automount(1M) or automountd(1M) man
pages.
1. Move the /etc/rc.config.d/nfsconf file to
/etc/rc.config.d.nfsconf.old.
2. Copy the /usr/newconfig/etc/rc.config.d/nfsconf file to
/etc/rc.config.d/nfsconf.
3. In the /etc/rc.config.d/nfsconf file set the AUTOFS variable
equal to 1.
4. Copy any options you had specified in the AUTO_OPTIONS variable to
either the AUTOMOUNT_OPTIONS or the AUTOMOUNTD_OPTIONS
variable. Remove obsolete options.
Table 2-5 lists the options to the old automount command and the
equivalent AutoFS command options. It also indicates which
automount options are obsolete with AutoFS.
Table 2-5 Old Automount Command-Line Options Used By AutoFS
Old automount
Option
Equivalent
AutoFS Command
Option
Purpose
-D variable=value automountd -D
variable=value
Assign value to
environment
variable.
-f master_file automount -f
master_file
Use master_file as
local master map.
-M
mount_directory
Obsolete with
AutoFS.
Automount directories
under
mount_directory
instead of /tmp_mnt.
-m Obsolete with
AutoFS.
Ignore NIS
auto.master map.