]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - share/man/man5/autofs.5
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / share / man / man5 / autofs.5
1 .\" Copyright (c) 2014 The FreeBSD Foundation
2 .\" All rights reserved.
3 .\"
4 .\" This software was developed by Edward Tomasz Napierala under sponsorship
5 .\" from the FreeBSD Foundation.
6 .\"
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
9 .\" are met:
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\"    notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\"    notice, this list of conditions and the following disclaimer in the
14 .\"    documentation and/or other materials provided with the distribution.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\" $FreeBSD$
29 .\"
30 .Dd September 3, 2014
31 .Dt AUTOFS 5
32 .Os
33 .Sh NAME
34 .Nm autofs
35 .Nd "automounter filesystem"
36 .Sh SYNOPSIS
37 To compile this driver into the kernel,
38 place the following line in the
39 kernel configuration file:
40 .Bd -ragged -offset indent
41 .Cd "options AUTOFS"
42 .Ed
43 .Pp
44 Alternatively, to load the driver as a
45 module at boot time, place the following line in
46 .Xr loader.conf 5 :
47 .Bd -literal -offset indent
48 autofs_load="YES"
49 .Ed
50 .Sh DESCRIPTION
51 The
52 .Nm
53 driver is the kernel component of the automounter infrastructure.
54 Its job is to pass mount requests to the
55 .Xr automountd 8
56 daemon, and pause the processes trying to access the automounted filesystem
57 until the mount is completed.
58 It is mounted by the
59 .Xr automount 8 .
60 .Sh OPTIONS
61 These options are available when
62 mounting
63 .Nm
64 file systems:
65 .Bl -tag -width indent
66 .It Cm master_options
67 Mount options for all filesystems specified in the map entry.
68 .It Cm master_prefix
69 Filesystem mountpoint prefix.
70 .El
71 .Sh EXAMPLES
72 To unmount all mounted
73 .Nm
74 filesystems:
75 .Pp
76 .Dl "umount -At autofs"
77 .Pp
78 To mount
79 .Nm
80 filesystems specified in
81 .Xr auto_master 5 :
82 .Pp
83 .Dl "automount"
84 .Sh SEE ALSO
85 .Xr auto_master 5 ,
86 .Xr automount 8 ,
87 .Xr automountd 8 ,
88 .Xr autounmountd 8
89 .Sh HISTORY
90 The
91 .Nm
92 driver first appeared in
93 .Fx 10.1 .
94 .Sh AUTHORS
95 The
96 .Nm
97 was developed by
98 .An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
99 under sponsorship from the FreeBSD Foundation.