1.Dd March 27, 2007
2.Dt AUTOFS.CONF 5
3.Os Darwin
4.Sh NAME
5.Nm autofs.conf
6.Nd
7.Xr automount 8
8and
9.Xr automountd 8
10configuration file
11.Sh DESCRIPTION
12The
13.Nm
14file specifies various configuration options for
15.Xr automount 8
16and
17.Xr automountd 8 .
18.Pp
19.Nm
20consists of a series of lines, each of which may contain a
21line that sets a parameter, a comment, or a blank line.
22.Pp
23A line that sets a parameter has the format:
24.D1 Va parameter Ns = Ns Va value
25A
26.Dq #
27is the comment character, and all characters from it to the end of
28line are ignored.
29.Pp
30The parameters that are supported are:
31.Bl -tag
32.It Dv AUTOMOUNT_TIMEOUT
33The number of seconds after which an automounted file system will be
34unmounted if it hasn't been referred to within that period of time.  The
35default is 10 minutes (600 seconds).
36This is equivalent to the
37.Fl t
38option in
39.Xr automount 8 .
40.It Dv AUTOMOUNT_VERBOSE
41.Li TRUE
42or
43.Li FALSE ;
44if
45.Li TRUE ,
46.Xr automount 8
47will print more detailed information about the actions it takes.
48This is equivalent to the
49.Fl v
50option to
51.Xr automount 8 .
52.It Dv AUTOMOUNTD_VERBOSE
53.Li TRUE
54or
55.Li FALSE ;
56if
57.Li TRUE ,
58.Xr automountd 8
59will log to
60.Xr syslogd 8
61more detailed information about the actions it takes.
62This is equivalent to the
63.Fl v
64option to
65.Xr automountd 8 .
66.It Dv AUTOMOUNTD_NOBROWSE
67.Li TRUE
68or
69.Li FALSE ;
70if
71.Li TRUE ,
72.Xr automountd 8
73will disable browsing of all maps.
74This is equivalent to the
75.Fl n
76option to
77.Xr automountd 8 .
78.It Dv AUTOMOUNTD_TRACE
79The trace level for logging information about requests received by
80.Xr automountd 8
81from autofs, processing done for those requests, and replies sent to
82autofs.
83The default level of
84.Li 0
85causes no information to be logged; each higher value causes more
86information to be logged.
87This controls the same trace level that the
88.Fl T
89option to
90.Xr automountd 8
91controls.
92The trace is logged to /var/log/system.log
93.It Dv AUTOMOUNTD_MNTOPTS
94A string containing a comma-separated list of mount options
95that will be applied, by default, to all mounts done by
96.Xr automountd 8 .
97The options for a particular mount can override these options.
98This controls the same options that the
99.Fl o
100option to
101.Xr automountd 8
102.It Dv AUTOMOUNTD_NOSUID
103.Li TRUE
104or
105.Li FALSE ;
106if
107.Li TRUE ,
108.Xr automountd 8
109will force all mounts to have the "nosuid" mount option set.
110.It Dv AUTOMOUNTD_ENV
111A string of the form
112.D1 Va name Ns = Ns Va value
113that causes the environment variable
114.Va name
115to be set to the value
116.Va value
117in
118.Xr automountd 8 .
119Environment variables can be referred to in map entries; the value of
120the environment variable is substituted for the reference to the
121variable.
122This is equivalent to the
123.Fl D
124option to
125.Xr automountd 8 .
126.El
127.Sh FILES
128.Bl -tag -width /etc/autofs.conf -compact
129.It Pa /etc/autofs.conf
130This file.
131.El
132.Sh SEE ALSO
133.Xr auto_master 5 ,
134.Xr automount 8 ,
135.Xr automountd 8
136