1*59a9e119Schristos.\" Copyright (c) 2017 The NetBSD Foundation, Inc. 2*59a9e119Schristos.\" Copyright (c) 2016 The DragonFly Project 3*59a9e119Schristos.\" Copyright (c) 2014 The FreeBSD Foundation 4*59a9e119Schristos.\" All rights reserved. 5*59a9e119Schristos.\" 6*59a9e119Schristos.\" This code is derived from software contributed to The NetBSD Foundation 7*59a9e119Schristos.\" by Tomohiro Kusumi. 8*59a9e119Schristos.\" 9*59a9e119Schristos.\" This software was developed by Edward Tomasz Napierala under sponsorship 10*59a9e119Schristos.\" from the FreeBSD Foundation. 11*59a9e119Schristos.\" 12*59a9e119Schristos.\" Redistribution and use in source and binary forms, with or without 13*59a9e119Schristos.\" modification, are permitted provided that the following conditions 14*59a9e119Schristos.\" are met: 15*59a9e119Schristos.\" 1. Redistributions of source code must retain the above copyright 16*59a9e119Schristos.\" notice, this list of conditions and the following disclaimer. 17*59a9e119Schristos.\" 2. Redistributions in binary form must reproduce the above copyright 18*59a9e119Schristos.\" notice, this list of conditions and the following disclaimer in the 19*59a9e119Schristos.\" documentation and/or other materials provided with the distribution. 20*59a9e119Schristos.\" 21*59a9e119Schristos.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 22*59a9e119Schristos.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23*59a9e119Schristos.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24*59a9e119Schristos.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 25*59a9e119Schristos.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26*59a9e119Schristos.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27*59a9e119Schristos.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28*59a9e119Schristos.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29*59a9e119Schristos.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30*59a9e119Schristos.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31*59a9e119Schristos.\" SUCH DAMAGE. 32*59a9e119Schristos.\" 33*59a9e119Schristos.\" $FreeBSD$ 34*59a9e119Schristos.\" 35*59a9e119Schristos.Dd November 25, 2017 36*59a9e119Schristos.Dt AUTOUNMOUNTD 8 37*59a9e119Schristos.Os 38*59a9e119Schristos.Sh NAME 39*59a9e119Schristos.Nm autounmountd 40*59a9e119Schristos.Nd daemon unmounting automounted filesystems 41*59a9e119Schristos.Sh SYNOPSIS 42*59a9e119Schristos.Nm 43*59a9e119Schristos.Op Fl d 44*59a9e119Schristos.Op Fl r Ar time 45*59a9e119Schristos.Op Fl t Ar time 46*59a9e119Schristos.Op Fl v 47*59a9e119Schristos.Sh DESCRIPTION 48*59a9e119SchristosThe 49*59a9e119Schristos.Nm 50*59a9e119Schristosdaemon is responsible for unmounting filesystems mounted by 51*59a9e119Schristos.Xr automountd 8 . 52*59a9e119SchristosOn startup, 53*59a9e119Schristos.Nm 54*59a9e119Schristosretrieves a list of filesystems that have the 55*59a9e119Schristos.Li automounted 56*59a9e119Schristosmount option set. 57*59a9e119SchristosThe list is updated every time a filesystem is mounted or unmounted. 58*59a9e119SchristosAfter a specified time passes, 59*59a9e119Schristos.Nm 60*59a9e119Schristosattempts to unmount a filesystem, retrying after some time if necessary. 61*59a9e119Schristos.Pp 62*59a9e119SchristosThese options are available: 63*59a9e119Schristos.Bl -tag -width ".Fl v" 64*59a9e119Schristos.It Fl d 65*59a9e119SchristosDebug mode: increase verbosity and do not daemonize. 66*59a9e119Schristos.It Fl r 67*59a9e119SchristosNumber of seconds to wait before trying to unmount an expired filesystem 68*59a9e119Schristosafter a previous attempt failed, possibly due to filesystem being busy. 69*59a9e119SchristosThe default value is 600, or ten minutes. 70*59a9e119Schristos.It Fl t 71*59a9e119SchristosNumber of seconds to wait before trying to unmount a filesystem. 72*59a9e119SchristosThe default value is 600, or ten minutes. 73*59a9e119Schristos.It Fl v 74*59a9e119SchristosIncrease verbosity. 75*59a9e119Schristos.El 76*59a9e119Schristos.Sh EXIT STATUS 77*59a9e119Schristos.Ex -std 78*59a9e119Schristos.Sh SEE ALSO 79*59a9e119Schristos.Xr autofs 5 , 80*59a9e119Schristos.Xr auto_master 5 , 81*59a9e119Schristos.Xr automount 8 , 82*59a9e119Schristos.Xr automountd 8 83*59a9e119Schristos.Sh HISTORY 84*59a9e119SchristosThe 85*59a9e119Schristos.Nm 86*59a9e119Schristosdaemon appeared in 87*59a9e119Schristos.Fx 10.1 . 88*59a9e119SchristosThe 89*59a9e119Schristos.Nm 90*59a9e119Schristosdaemon appeared in 91*59a9e119Schristos.Dx 4.5 . 92*59a9e119SchristosThe 93*59a9e119Schristos.Nm 94*59a9e119Schristoscommand appeared in 95*59a9e119Schristos.Nx 9.0 . 96*59a9e119Schristos.Sh AUTHORS 97*59a9e119SchristosThe 98*59a9e119Schristos.Nm 99*59a9e119Schristoswas developed by 100*59a9e119Schristos.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org 101*59a9e119Schristosunder sponsorship from the FreeBSD Foundation. 102*59a9e119Schristos.Pp 103*59a9e119SchristosThe 104*59a9e119Schristos.Nm 105*59a9e119Schristoswas ported to 106*59a9e119Schristos.Dx 107*59a9e119Schristosand 108*59a9e119Schristos.Nx 109*59a9e119Schristosby 110*59a9e119Schristos.An Tomohiro Kusumi Aq Mt kusumi.tomohiro@gmail.com . 111