1e2950f41STomohiro Kusumi.\" Copyright (c) 2016 The DragonFly Project 2e2950f41STomohiro Kusumi.\" Copyright (c) 2014 The FreeBSD Foundation 3e2950f41STomohiro Kusumi.\" All rights reserved. 4e2950f41STomohiro Kusumi.\" 5e2950f41STomohiro Kusumi.\" This software was developed by Edward Tomasz Napierala under sponsorship 6e2950f41STomohiro Kusumi.\" from the FreeBSD Foundation. 7e2950f41STomohiro Kusumi.\" 8e2950f41STomohiro Kusumi.\" Redistribution and use in source and binary forms, with or without 9e2950f41STomohiro Kusumi.\" modification, are permitted provided that the following conditions 10e2950f41STomohiro Kusumi.\" are met: 11e2950f41STomohiro Kusumi.\" 1. Redistributions of source code must retain the above copyright 12e2950f41STomohiro Kusumi.\" notice, this list of conditions and the following disclaimer. 13e2950f41STomohiro Kusumi.\" 2. Redistributions in binary form must reproduce the above copyright 14e2950f41STomohiro Kusumi.\" notice, this list of conditions and the following disclaimer in the 15e2950f41STomohiro Kusumi.\" documentation and/or other materials provided with the distribution. 16e2950f41STomohiro Kusumi.\" 17e2950f41STomohiro Kusumi.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 18e2950f41STomohiro Kusumi.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19e2950f41STomohiro Kusumi.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20e2950f41STomohiro Kusumi.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 21e2950f41STomohiro Kusumi.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22e2950f41STomohiro Kusumi.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23e2950f41STomohiro Kusumi.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24e2950f41STomohiro Kusumi.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25e2950f41STomohiro Kusumi.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26e2950f41STomohiro Kusumi.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27e2950f41STomohiro Kusumi.\" SUCH DAMAGE. 28e2950f41STomohiro Kusumi.\" 29e2950f41STomohiro Kusumi.\" $FreeBSD$ 30e2950f41STomohiro Kusumi.\" 31e2950f41STomohiro Kusumi.Dd April 14, 2016 32e2950f41STomohiro Kusumi.Dt AUTOFS 5 33e2950f41STomohiro Kusumi.Os 34e2950f41STomohiro Kusumi.Sh NAME 35e2950f41STomohiro Kusumi.Nm autofs 36e2950f41STomohiro Kusumi.Nd "automounter filesystem" 37e2950f41STomohiro Kusumi.Sh SYNOPSIS 38e2950f41STomohiro KusumiTo compile this driver into the kernel, 39e2950f41STomohiro Kusumiplace the following line in the 40e2950f41STomohiro Kusumikernel configuration file: 41e2950f41STomohiro Kusumi.Bd -ragged -offset indent 42e2950f41STomohiro Kusumi.Cd "options AUTOFS" 43e2950f41STomohiro Kusumi.Ed 44e2950f41STomohiro Kusumi.Pp 45e2950f41STomohiro KusumiAlternatively, to load the driver as a 46e2950f41STomohiro Kusumimodule at boot time, place the following line in 47e2950f41STomohiro Kusumi.Xr loader.conf 5 : 48e2950f41STomohiro Kusumi.Bd -literal -offset indent 49e2950f41STomohiro Kusumiautofs_load="YES" 50e2950f41STomohiro Kusumi.Ed 51e2950f41STomohiro Kusumi.Sh DESCRIPTION 52e2950f41STomohiro KusumiThe 53e2950f41STomohiro Kusumi.Nm 54e2950f41STomohiro Kusumidriver is the kernel component of the automounter infrastructure. 55e2950f41STomohiro KusumiIts job is to pass mount requests to the 56e2950f41STomohiro Kusumi.Xr automountd 8 57e2950f41STomohiro Kusumidaemon, and pause the processes trying to access the automounted filesystem 58e2950f41STomohiro Kusumiuntil the mount is completed. 59e2950f41STomohiro KusumiIt is mounted by the 60e2950f41STomohiro Kusumi.Xr automount 8 . 61e2950f41STomohiro Kusumi.Sh OPTIONS 62e2950f41STomohiro KusumiThese options are available when 63e2950f41STomohiro Kusumimounting 64e2950f41STomohiro Kusumi.Nm 65e2950f41STomohiro Kusumifile systems: 66e2950f41STomohiro Kusumi.Bl -tag -width indent 67e2950f41STomohiro Kusumi.It Cm master_options 68e2950f41STomohiro KusumiMount options for all filesystems specified in the map entry. 69e2950f41STomohiro Kusumi.It Cm master_prefix 70e2950f41STomohiro KusumiFilesystem mountpoint prefix. 71e2950f41STomohiro Kusumi.El 72e2950f41STomohiro Kusumi.Sh EXAMPLES 73e2950f41STomohiro KusumiTo unmount all mounted 74e2950f41STomohiro Kusumi.Nm 75e2950f41STomohiro Kusumifilesystems: 76e2950f41STomohiro Kusumi.Pp 77e2950f41STomohiro Kusumi.Dl "umount -At autofs" 78e2950f41STomohiro Kusumi.Pp 79e2950f41STomohiro KusumiTo mount 80e2950f41STomohiro Kusumi.Nm 81e2950f41STomohiro Kusumifilesystems specified in 82e2950f41STomohiro Kusumi.Xr auto_master 5 : 83e2950f41STomohiro Kusumi.Pp 84e2950f41STomohiro Kusumi.Dl "automount" 85e2950f41STomohiro Kusumi.Sh SEE ALSO 86e2950f41STomohiro Kusumi.Xr auto_master 5 , 87e2950f41STomohiro Kusumi.Xr automount 8 , 88e2950f41STomohiro Kusumi.Xr automountd 8 , 89e2950f41STomohiro Kusumi.Xr autounmountd 8 90e2950f41STomohiro Kusumi.Sh HISTORY 91e2950f41STomohiro KusumiThe 92e2950f41STomohiro Kusumi.Nm 93e2950f41STomohiro Kusumidriver first appeared in 94e2950f41STomohiro Kusumi.Fx 10.1 . 95e2950f41STomohiro KusumiThe 96e2950f41STomohiro Kusumi.Nm 97e2950f41STomohiro Kusumidriver first appeared in 98e2950f41STomohiro Kusumi.Dx 4.5 . 99e2950f41STomohiro Kusumi.Sh AUTHORS 100e2950f41STomohiro KusumiThe 101e2950f41STomohiro Kusumi.Nm 102e2950f41STomohiro Kusumiwas developed by 103e2950f41STomohiro Kusumi.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org 104e2950f41STomohiro Kusumiunder sponsorship from the FreeBSD Foundation. 105e2950f41STomohiro Kusumi.Pp 106e2950f41STomohiro KusumiThe 107e2950f41STomohiro Kusumi.Nm 108e2950f41STomohiro Kusumiwas ported to 109e2950f41STomohiro Kusumi.Dx 110e2950f41STomohiro Kusumiby 111*49837aefSTomohiro Kusumi.An Tomohiro Kusumi Aq Mt tkusumi@netbsd.org . 112b99c9975STomohiro KusumiDonated to DragonFlyBSD by PeerCorps Trust Fund. 113e2950f41STomohiro Kusumi.Sh BUGS 114e2950f41STomohiro KusumiThe 115e2950f41STomohiro Kusumi.Nm 116e2950f41STomohiro Kusumidriver on 117e2950f41STomohiro Kusumi.Dx 118e2950f41STomohiro Kusumicurrently does't support 119e2950f41STomohiro Kusumi.Pa vfs.autofs.mount_on_stat 120e2950f41STomohiro Kusumisysctl. 121e2950f41STomohiro KusumiThis sysctl is disabled by default on both 122e2950f41STomohiro Kusumi.Fx 123e2950f41STomohiro Kusumiand 124e2950f41STomohiro Kusumi.Dx , 125e2950f41STomohiro Kusumibut enabling it does nothing on 126e2950f41STomohiro Kusumi.Dx . 127