1*b94e4467Stkusumi.\" $NetBSD: autofs.5,v 1.5 2019/11/21 15:24:17 tkusumi Exp $ 249e8d3a9Swiz.\" 3b985414bSchristos.\" Copyright (c) 2017 The NetBSD Foundation, Inc. 4b985414bSchristos.\" Copyright (c) 2016 The DragonFly Project 5b985414bSchristos.\" Copyright (c) 2014 The FreeBSD Foundation 6b985414bSchristos.\" All rights reserved. 7b985414bSchristos.\" 8b985414bSchristos.\" This code is derived from software contributed to The NetBSD Foundation 9b985414bSchristos.\" by Tomohiro Kusumi. 10b985414bSchristos.\" 11b985414bSchristos.\" This software was developed by Edward Tomasz Napierala under sponsorship 12b985414bSchristos.\" from the FreeBSD Foundation. 13b985414bSchristos.\" 14b985414bSchristos.\" Redistribution and use in source and binary forms, with or without 15b985414bSchristos.\" modification, are permitted provided that the following conditions 16b985414bSchristos.\" are met: 17b985414bSchristos.\" 1. Redistributions of source code must retain the above copyright 18b985414bSchristos.\" notice, this list of conditions and the following disclaimer. 19b985414bSchristos.\" 2. Redistributions in binary form must reproduce the above copyright 20b985414bSchristos.\" notice, this list of conditions and the following disclaimer in the 21b985414bSchristos.\" documentation and/or other materials provided with the distribution. 22b985414bSchristos.\" 23b985414bSchristos.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 24b985414bSchristos.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25b985414bSchristos.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26b985414bSchristos.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 27b985414bSchristos.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28b985414bSchristos.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29b985414bSchristos.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30b985414bSchristos.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31b985414bSchristos.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32b985414bSchristos.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33b985414bSchristos.\" SUCH DAMAGE. 34b985414bSchristos.\" 35b985414bSchristos.\" $FreeBSD$ 36b985414bSchristos.\" 37b985414bSchristos.Dd November 25, 2017 38b985414bSchristos.Dt AUTOFS 5 39b985414bSchristos.Os 40b985414bSchristos.Sh NAME 41b985414bSchristos.Nm autofs 42b985414bSchristos.Nd "automounter filesystem" 43b985414bSchristos.Sh SYNOPSIS 4449e8d3a9Swiz.\"To compile this driver into the kernel, 4549e8d3a9Swiz.\"place the following line in the 4649e8d3a9Swiz.\"kernel configuration file: 4749e8d3a9Swiz.\".Bd -ragged -offset indent 48b985414bSchristos.Cd "options AUTOFS" 4949e8d3a9Swiz.\".Ed 5049e8d3a9Swiz.\".Pp 5149e8d3a9Swiz.\"Alternatively, to load the driver as a 5249e8d3a9Swiz.\"module at boot time, place the following line in 5349e8d3a9Swiz.\".Xr loader.conf 5 : 5449e8d3a9Swiz.\".Bd -literal -offset indent 5549e8d3a9Swiz.\"autofs_load="YES" 5649e8d3a9Swiz.\".Ed 57b985414bSchristos.Sh DESCRIPTION 58b985414bSchristosThe 59b985414bSchristos.Nm 60b985414bSchristosdriver is the kernel component of the automounter infrastructure. 61b985414bSchristosIts job is to pass mount requests to the 62b985414bSchristos.Xr automountd 8 63b985414bSchristosdaemon, and pause the processes trying to access the automounted filesystem 64b985414bSchristosuntil the mount is completed. 65b985414bSchristosIt is mounted by the 66b985414bSchristos.Xr automount 8 . 67b985414bSchristos.Sh OPTIONS 68b985414bSchristosThese options are available when 69b985414bSchristosmounting 70b985414bSchristos.Nm 71b985414bSchristosfile systems: 72b985414bSchristos.Bl -tag -width indent 73b985414bSchristos.It Cm master_options 74b985414bSchristosMount options for all filesystems specified in the map entry. 75b985414bSchristos.It Cm master_prefix 76b985414bSchristosFilesystem mountpoint prefix. 77b985414bSchristos.El 78b985414bSchristos.Sh EXAMPLES 79b985414bSchristosTo unmount all mounted 80b985414bSchristos.Nm 81b985414bSchristosfilesystems: 82b985414bSchristos.Pp 83b985414bSchristos.Dl "umount -At autofs" 84b985414bSchristos.Pp 85b985414bSchristosTo mount 86b985414bSchristos.Nm 87b985414bSchristosfilesystems specified in 88b985414bSchristos.Xr auto_master 5 : 89b985414bSchristos.Pp 90b985414bSchristos.Dl "automount" 91b985414bSchristos.Sh SEE ALSO 92b985414bSchristos.Xr auto_master 5 , 93b985414bSchristos.Xr automount 8 , 94b985414bSchristos.Xr automountd 8 , 950689dd38Skamil.Xr autounmountd 8 , 960689dd38Skamil.Xr mount_autofs 8 97b985414bSchristos.Sh HISTORY 98b985414bSchristosThe 99b985414bSchristos.Nm 100b985414bSchristosdriver first appeared in 101b985414bSchristos.Fx 10.1 . 102b985414bSchristosThe 103b985414bSchristos.Nm 104b985414bSchristosdriver first appeared in 105b985414bSchristos.Dx 4.5 . 106b985414bSchristosThe 107b985414bSchristos.Nm 108b985414bSchristosdriver first appeared in 109b985414bSchristos.Nx 9.0 . 110b985414bSchristos.Sh AUTHORS 11125223566Suwe.An -nosplit 112b985414bSchristosThe 113b985414bSchristos.Nm 114b985414bSchristoswas developed by 115b985414bSchristos.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org 116b985414bSchristosunder sponsorship from the FreeBSD Foundation. 117b985414bSchristos.Pp 118b985414bSchristosThe 119b985414bSchristos.Nm 120b985414bSchristoswas ported to 121b985414bSchristos.Dx 122b985414bSchristosand 123b985414bSchristos.Nx 124b985414bSchristosby 125*b94e4467Stkusumi.An Tomohiro Kusumi Aq Mt tkusumi@netbsd.org . 126