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
NFS Services Administrator’s Guide: HP-UX 11i version 3 > Chapter 3 Configuring and Administering AutoFS

Deciding Between Direct and Indirect Automounts

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Before you automount a remote directory, you must decide if you want to use a direct or indirect AutoFS map.

Table 3-4 lists the advantages and disadvantages of direct and indirect AutoFS maps.

Table 3-4 Direct Versus Indirect AutoFS Map Types

Direct Map

Indirect Map

Advantage: You can view the contents of a direct-mounted directory using the ls command. If the contents are not currently mounted, the ls command mounts them.

Advantage: AutoFS enables you to view the available mount-points for indirect maps without actually mounting each filesystem when browsability is enabled by default.

Advantage: Direct-mounted automounted directories can export the same parent directory with local, or standard-mounted files and directories.

Disadvantage: An indirect map hides any local, standard-mounted, or direct-mounted files or directories under the mount-point for the map.

Disadvantage: If you add or remove mounts in a direct map, or if you change the local mount-point for an existing mount in a direct map, you must force AutoFS to reread its maps.

Advantage: If you modify an indirect map, AutoFS will view the changes the next time it mounts the directory. You need not force AutoFS to reread its maps.

Disadvantage: When automount reads a direct map, it creates an entry for each automounted directory in the internal mount table, /etc/mnttab. This can cause the mount table to become very large.

Advantage: When automount reads an indirect map, it creates only one entry for the entire map in the internal mount table, /etc/mnttab. Additional entries are created when the directories are actually mounted. The mount table takes up no more space than necessary, because only mounted directories appear in it.

 

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