1AUTOFS.CONF(5) File Formats Manual AUTOFS.CONF(5)
2
3
4
6 autofs.conf - autofs configuration
7
9 Configuration settings used by automount(8) may be changed in the con‐
10 figuration file /etc/autofs.conf.
11
12 This file contains two primary sections, autofs and amd.
13
14 Configuration entries may be present at the beginning of the configura‐
15 tion file without a section header and are implicitly included as part
16 of the autofs section.
17
18 Each section name is enclosed in square brackets with spaces between
19 the brackets and the section name. The amd section may be followed by
20 further sections, named by the top level mount point path, that contain
21 per mount configuration settings.
22
24 Configuration settings available are:
25
26 timeout
27 Sets the default mount timeout in seconds. The internal program
28 default is 10 minutes, but the default installed configuration
29 overrides this and sets the timeout to 5 minutes to be consis‐
30 tent with earlier autofs releases.
31
32 master_wait
33 sets the default maximum time to wait for the master map to
34 become available if it cannot be read at program start (program
35 default 10, wait for 10 seconds then continue).
36
37 negative_timeout
38 Set the default timeout for caching failed key lookups (program
39 default 60). If the equivalent command line option is given it
40 will override this setting.
41
42 mount_wait
43 Set the default time to wait for a response from a spawned
44 mount(8) before sending it a SIGTERM. Note that we still need to
45 wait for the RPC layer to timeout before the sub-process exits
46 so this isn't ideal but it is the best we can do. The default is
47 to wait until mount(8) returns without intervention.
48
49 umount_wait
50 Set the default time to wait for a response from a spawned
51 umount(8) before sending it a SIGTERM. Note that we still need
52 to wait for the RPC layer to timeout before the sub-process
53 exits so this isn't ideal but it is the best we can do.
54
55 browse_mode
56 Maps are browsable by default (program default "yes").
57
58 mount_nfs_default_protocol
59 Set the default protocol that mount.nfs(8) uses when performing
60 a mount (program default 3). Autofs needs to know the default
61 NFS protocol that mount.nfs(8) uses so it can do special case
62 handling for its availability probe for different NFS protocols.
63 Since we can't identify this default automatically we need to
64 set it in the autofs configuration.
65
66 append_options
67 Determine whether global options, given on the command line or
68 per mount in the master map, are appended to map entry options
69 or if the map entry options replace the global options (program
70 default "yes", append options).
71
72 logging
73 set default log level "none", "verbose" or "debug" (program
74 default "none"