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