aboutsummaryrefslogtreecommitdiffstats
path: root/man/auto.master.5
blob: 7e95f75708b90d13a2c8517531e0ec5c2b0f2b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.\" t
.\" $Id$
.TH AUTO.MASTER 5 "9 Sep 1997"
.SH NAME
/etc/auto.master \- Master Map for automounter
.SH "DESCRIPTION"
The
.B auto.master
map is consulted when the
.BR autofs (8)
script is invoked to set up the necessary mount points for the automounter.
Each line in this file describes a mount point and points to another file
describing the file systems to be mounted under this mountpoint. The access
to those maps is governed by a key.
.P
Access to an automounted file system is customarily done using the path scheme:
.P
.RI / mountpoint / key / path / file ,
.P
where the
.I mountpoint
will be listed in the
.B auto.master
configuration file. The
.I key
is matched in the map file pointed to by the
master map (See
.BR autofs (5)).
The path and the file are referring to the file on the file system mounted.
.SH "FORMAT"
The file has three fields separated by an arbitrary number of blanks or
tabs. Lines beginning with # are comments. The first field is the mount
point. Second field is the map file to be consulted for this mount-point.
The third field is optional and can contain options to be applied to all
entries in the map. Options are cumulative, which is a difference to the
behavior of the SunOS automounter.

The format of the map file and the options are described in
.BR autofs (5).
.SH EXAMPLE
.sp
.RS +.2i
.ta 1.0i
.nf
/home	/etc/auto.home
/misc	/etc/auto.misc
.fi
.RE
.sp
This will generate two mountpoints 
.I /home
and
.IR /misc .
All accesses to
.I /home
will lead to the consultation of the map in
.IR /etc/auto.home ,
and all accesses to
.I /misc
will consult the map in
.IR /etc/auto.misc .
.SH "SEE ALSO"
.BR automount (8),
.BR autofs (5),
.BR autofs (8).
.SH AUTHOR
This manual page was written by Christoph Lameter <chris@waterf.org>,
for the Debian GNU/Linux system.  Edited by <hpa@transmeta.com>.