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
Enhanced AutoFS Administrator's Guide: HP-UX 11i v1 > Chapter 2 Installing Enhanced AutoFS

Updating from Automounter to Enhanced AutoFS

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

This section includes information on how to update from the Automounter configuration to Enhanced AutoFS.

To update from Automounter to Enhanced AutoFS, perform the following steps:

  1. In the /etc/rc.config.d/nfsconf file, set the AUTOFS variable to 1.

  2. Copy the options specified in the AUTO_OPTIONS variable to the AUTOMOUNT_OPTIONS or AUTOMOUNTD_OPTIONS variable. In addition, remove the obsolete options.

    Table 2-1 “Old automount Command-Line Options” lists the options of the old automount command and the equivalent AutoFS command options. It also indicates which automount options are obsolete with AutoFS.

    Table 2-1 Old automount Command-Line Options

    Old automount OptionEquivalent AutoFS Command OptionPurpose
    -D variable=valueautomountd -D variable=valueAssign value to the environment variable.
    -f master_fileautomount -f master_fileUse master_file as the local master map.
    -M mount_directoryObsolete with AutoFS.Automount directories under mount_directory instead of /tmp_mnt.
    -mObsolete with AutoFS.Ignore the NIS auto.master map.
    -nObsolete with AutoFS.Allow automounts of previously mounted target file systems only.
    -Tautomountd -TEnable automount tracing.
    -tl durationautomount -t durationSpecify time before unmounting idle directories.
    -tm intervalObsolete with AutoFS.Specify interval between mount attempts.
    -tw intervalObsolete with AutoFS.Specify interval between unmount attempts.
    -vautomount -v
    automountd -v
    Verbose mode.

     

  3. Modify the scripts (if any) that kill and restart automount. The new AutoFS daemon, automountd, rarely needs to be restarted. If you need to make changes to your AutoFS maps, run the automount program after modifying the maps. automount is not a daemon; it is a program that runs once to read the maps and then terminates.

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