Creating direct automount maps
The syntax for a direct map is:
key [ mount_options ] location [ location ] . . .
A line whose first character is ``#'' is treated as a comment and everything that follows until the end of the line is ignored. A backslash at the end of a line permits splitting long lines into shorter ones. For details on this syntax see ``About automount maps''.
The following is a sample direct automount map:
/usr/man -r,soft london:/usr/man /usr/spool/news -r,soft prague:/usr/spool/newsThe first entry is the direct mount entry for the mount illustrated in Figure 13-1, ``An example of direct mounting using automount''. See the description near the figure.
The second entry mounts the filesystem /usr/spool/news from the server prague. automount creates the directories /usr, /usr/spool, and /usr/spool/news if they do not already exist. If /usr/spool/news does exist and is not empty, the mounted filesystem hides the local existing filesystem.
See also: