HP Visualize c360 IRIX to HP-UX Migration Guide - Page 106
Automounter
View all HP Visualize c360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 106 highlights
Network File System # /sbin/init.d/nfs.client stop Automounter The master map is usually created as /etc/auto_master and then made into the NIS map auto_master. By default, automounter tries to get master information from the the auto_master map. If a local master map file is specified on the command line, automounter reads it before reading auto_master. The following is the format for indirect map entries: mount_directory map_name [mount_options] The following is the format for direct map entries: /- direct_map [mount_options] in which mount_directory is the absolute path of the mount directory for the indirect map, /- is the direct map indicator, and map_name/direct_map is the file name or NIS map name of the indirect or direct map. If the map name is prefaced with a plus (+), automounter searches for an NIS map. The map_name or direct_map field can also reference one of the following special entries: -hosts A special map that uses /etc/hosts, NIS, or BIND to locate a remote when a host name is specified as a directory name. The name of the remote host is used as the subdirectory name under the mount directory (the first field in the master map). -password A special map that uses the /etc/passwd file to attempt to locate the home directory of a user. -null Cancels a previous map for the indicated mount directory. mount_options Refers to any NFS mount options. Mount options in the master map are overridden by mount options in the indirect/direct maps. Automounter Startup Files When booted to run-level 2 or higher, the system will run the /sbini/init.d/nfs.client script. This script will start automounter if the AUTOMOUNT variable in the /etc/rc.config.d/nfsconf configuration file has a value of 1. Configuring Automounter 1. Create the master map /etc/auto_master. 2. Create indirect and direct maps as needed. 3. Configure /etc/rc.config.d/nfsconf. 4. Start automounter manually: # /sbin/init.d/nfs.client start. To Enable the NFS Automounter 1. In the /etc/rc.config.d/nfsconf file, make sure the NFS_CLIENT and AUTOMOUNT variables are set to 1, as follows: NFS_CLIENT=1 AUTOMOUNT=1 101