HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
a
automount(1M) automount(1M)
(automounter)
The -null map, when indicated on the command line, cancels a previous map for the directory indicated.
It can be used to cancel a map given in auto_master .
Configuration and the auto_master Map
automount normally consults the auto_master configuration map for a list of initial automount
maps, and sets up automatic mounts for them in addition to those given on the command line. If there are
duplications, the command-line arguments take precedence. This configuration database contains argu-
ments to the automount command rather than mappings.
Maps given on the command line, or those given in a local master file specified with -f override those in
the auto_master map. For example, given the command:
automount /homes /etc/auto.homes /- /etc/auto.direct
and the master map file auto_master containing:
/homes -passwd
automount
mounts home directories using the /etc/auto.homes map instead of the special -
passwd
map in addition to the various directories specified in the /etc/auto.direct map.
EXTERNAL INFLUENCES
Environment Variables
Environment variables can be used within an automount map. For example, if $HOME appears within
a map,
automount expands it to the current value of the HOME environment variable.
To protect a reference from affixed characters, surround the variable name with curly braces. Environment
variables cannot appear as the key entry in maps.
WARNINGS
Do not send the SIGKILL signal (kill -9,orkill -KILL) to the automount
daemon. Doing so
causes any processes accessing mount directories served by
automount to hang. A system reboot may be
required to recover from this state.
Do not start an automount daemon while another is still running. If restarting automount, make
sure the first daemon and all of its children are not running.
When
automount receives signal SIGHUP, it rereads the /etc/mnttab file to update its internal
record of currently mounted file systems. If a file system mounted by automount is unmounted by a
umount command, automount should be forced to reread the file by sending the SIGHUP signal (see
kill(1)).
Shell file name expansion does not apply to objects not currently mounted.
Since
automount is single-threaded, any request that is delayed by a slow or nonresponding NFS server
delays all subsequent automatic mount requests until it completes.
Programs that read /etc/mnttab and then touch files that reside under automatic mount points intro-
duce further entries to the file.
Automatically-mounted file systems are mounted with type ignore; they do not appear in the output of
either mount or bdf (see mount(1M) and bdf(1M)).
AUTHOR
automount was developed by Sun Microsystems, Inc.
FILES
/tmp_mnt directory under which filesystems are dynamically mounted
/etc/mnttab mount table
/etc/nsswitch.conf the name service switch configuration file.
SEE ALSO
mount(1M), bdf(1M), passwd(4).
HP-UX Release 11i: December 2000 4 Section 1M95
___
___