Lines Matching +full:path +full:- +full:map
1 .\"-
2 .\" SPDX-License-Identifier: BSD-2-Clause
35 .Nd autofs automounter configuration and map file format
39 configuration file, which assigns filesystem paths to map names,
54 .Bd -literal -offset indent
55 .Pa mountpoint Pa map_name Op Ar -options
59 is either a fully specified path, or
60 .Li /- .
63 is a full path,
65 must reference an indirect map.
68 must reference a direct map.
70 .Sx "MAP SYNTAX" below.
73 specifies map to use.
77 .Li - ,
78 it specifies a special map.
80 .Sx "MAP SYNTAX"
84 is not a fully specified path
89 Otherwise it will use the path as given.
94 will assume it is an executable map.
96 .Sx "MAP SYNTAX"
100 .Pa -options
102 .Li -
105 The following example specifies that the /etc/auto_example indirect map
107 .Bd -literal -offset indent
110 .Sh MAP SYNTAX
113 .Bd -literal -offset indent
114 .Pa key Oo Ar -options Oc Oo Ar mountpoint Oo -options Oc Oc Ar location Op ...
118 .Bd -literal -offset indent
119 .Pa key Oo Ar -options Oc Ar location
123 is the path component used by
125 to find the right map entry to use.
137 .Li - .
140 and options specified in the map entry are concatenated together.
146 .Cm "mount -t".
153 is used to disable creation of top-level directories for special
171 .Bd -literal -offset indent
178 .Bd -literal -offset indent
184 .Bl -tag -width "-OSNAME" -compact
187 .Li "uname -p" .
194 .Li "uname -n" .
197 .Li "uname -s" .
200 .Li "uname -r" .
203 .Li "uname -v" .
223 referring to the map as described above, specifies that the NFS share
233 .Bd -literal -offset indent
234 .Li x -intr,nfsv4 192.168.1.1:/share/example/x
239 .Bd -literal -offset indent
240 .Li share -fstype=smbfs,-N ://@server/share
244 .Bd -literal -offset indent
245 .Li cd -fstype=cd9660 :/dev/cd0
249 .Li - .
252 .Bl -tag -width "-noauto" -compact
253 .It Li -hosts
254 Query the remote NFS server and map exported shares.
255 This map is traditionally mounted on
258 .Pf /net/ Ar nfs-server-ip Ns / Ns Ar share-name Ns /
262 .It Li -media
265 .It Li -noauto
269 This needs to be set up as a direct map.
270 .It Li -null
283 If the map file specified in
290 expected to output a list of available map keys separated by
299 by entries with a fully qualified path as a mount point, and must contain only
304 .Li /-
308 mountpoint with the map entry key and optional map entry mountpoint.
310 the map entry key with the optional map entry mountpoint.
312 The example above could be rewritten using direct map, by placing this in
314 .Bd -literal -offset indent
315 .Li /- auto_example
321 .Bd -literal -offset indent
322 .Li /example/x -intr,nfsv4 192.168.1.1:/share/example/x
323 .Li /example/share -fstype=smbfs,-N ://@server/share
324 .Li /example/cd -fstype=cd9660 :/dev/cd0
329 and maps may contain entries consisting of a plus sign and map name:
330 .Bd -literal -offset indent
336 daemon to retrieve the named map from directory services (like LDAP)
339 If the file containing the map referenced in
341 is not found, the map will be retrieved from directory services instead.
347 which is usually a shell script, with map name as the only command line
351 or automounter map syntax to standard output.
357 .Bl -tag -width ".Pa /etc/auto_master" -compact