[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Network Information Services (NIS and NIS+) Guide

Auto_Master Table

The auto_master table lists all the automounter maps in a domain. For direct maps, the auto_master table provides a map name. For indirect maps, it provides both a map name and the top directory of its mount point. The auto_master table has two columns:

Auto_Master Table
Column Content Description
Key Mount point Top directory into which the map will be mounted. If the map is a direct map, this is a dummy directory, represented with /--.
Value Map name Name of the automounter map

For example, assume these entries in the auto_master table:

/home  auto_home
/programs auto_programs

The first entry names the auto_home map. It specifies the top directory of the mount point for all entries in the auto_home map: /home. (The auto_home map is an indirect map.) The second entry names the auto_man map. Because that map is a direct map, the entry provides only the map name. The auto_man map will itself provide the topmost directory, as well as the full pathname, of the mount points for each of its entries. The third entry names the auto_programs map and, because it provides the top directory of the mount point, the auto_programs map is an indirect map.

All automounter maps are stored as NIS+ tables. By default, the operating system environment provides the auto_master map as mandatory and the auto_home map as a convenience. You can create more automounter maps for a domain, but be sure to store them as NIS+ tables and list them in the auto_master table. For more information about the automounter, see NIS Automount.

[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]