HP-UX 11i September 2002 Release Notes

New and Changed Disk and File Management Features
Mounting and Unmounting NFS File Systems Automatically Using AutoFS
Chapter 11
212
/sbin/init.d/nfs.client stop
This will unmount all mounted AutoFS filesystems and then kill the automountd
process.
To stop AutoFS without using the /sbin/init.d/nfs.client script, you must enter the
following:
/usr/sbin/umountall -F autofs
kill automounted_pid
The automount -n, -M, and -tw options are not supported in AutoFS. The -m and -tm
options are also not supported, but their behavior can be configured in different ways:
by modifying the nsswitch.conf file to get the -m behavior
by modifying the automount map entries to specify the time-out for the -tm option.
The -tl option is accessed using -t.
Another difference between automounter and AutoFS is that AutoFS no longer uses
symbolic links to access the mount points. Applications that depend on this explicit
behavior will no longer work as expected.
Additional Information
The existing 11.0 automounter can be re-enabled, if desired, by setting the AUTOFS
variable to 0 or by removing the AUTOFS variable from /etc/rc.config.d/nfsconf. In
this configuration, automounter will not mount file systems via the NFS version 3
protocol.
For more information on how to migrate to AutoFS, see Chapter 2 in the Installing and
Administering NFS Services manual.
Configuration
To enable AutoFS, you must add or set the AUTOFS variable to 1 in
/etc/rc.config.d/nfsconf. Here is an example of this change:
#autofs configuration. See autofs(1m)
#
#For the 11.0 Release line both AUTOFS and the old Automount
#are delivered. In order to invoke the AUTOFS instead of
#you must set the AUTOFS flag to 1.
#
#/usr/sbin/automount is now a script that sources in this file
#Depending on the variable AUTOFS, either AUTOFS or the old
#automount process will execute. The nfs.client start script
#will also use this variable to start the appropriate process
#during the boot sequence.
#AUTOFS= 0 - use the old automount process.
# 1 - use the new AutoFS.
#AUTOMOUNT_OPTIONS= - options to the AutoFS automount command
#AUTOMOUNTD_OPTIONS= - options to the AutoFS automountd daemon
#
#The AUTOMOUNT flag still needs to be set for either the old
#automount or new AutoFS to be started by the nfs.client script.
#