NFS Services Administrator's Guide
Configuring and Administering AutoFS
Creating a Hierarchy of AutoFS Maps
Chapter 3 139
Creating a Hierarchy of AutoFS Maps
Hierarchical AutoFS maps provide a framework within which you can
organize large shared filesystems. Together with NIS, which allows you
to share information across administrative domains, hierarchical maps
enable you to decentralize the maintenance of the shared namespace.
Example Map Hierarchy
In the following example, an organization made up of many departments
wants to organize a shared automounted directory structure. The shared
top-level directory is called /org. The /org directory contains several
subdirectories, listed in the auto_org map. Each department
administers its own map for its subdirectory.
The AutoFS master map needs only a single entry for /org as in the
following:
# auto_master map
# Directory Map Name
/org auto_org
The auto_org map appears similar to the following:
finance -fstype=autofs auto_finance
marketing -fstype=autofs auto_marketing
legal -fstype=autofs auto_legal
research -fstype=autofs auto_research
eng -fstype=autofs auto_eng
The engineering department map, auto_eng, appears similar to the
following:
releases bigiron:/export/releases
tools mickey,minnie:/export/tools
source -fstype=autofs auto_eng_source
projects -fstype=autofs auto_eng_projects
A user in the blackhole project within engineering can use the following
path:
/org/eng/projects/blackhole