autofs: Port autofs from FreeBSD
[dragonfly.git] / usr.sbin / autofs / autounmountd.8
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
44 The
45 .Nm
46 daemon is responsible for unmounting filesystems mounted by
47 .Xr automountd 8 .
48 On startup,
49 .Nm
50 retrieves a list of filesystems that have the
51 .Li automounted
52 mount option set.
53 The list is updated every time a filesystem is mounted or unmounted.
54 After a specified time passes,
55 .Nm
56 attempts to unmount a filesystem, retrying after some time if necessary.
57 .Pp
58 These options are available:
59 .Bl -tag -width ".Fl v"
60 .It Fl d
61 Debug mode: increase verbosity and do not daemonize.
62 .It Fl r
63 Number of seconds to wait before trying to unmount an expired filesystem
64 after a previous attempt failed, possibly due to filesystem being busy.
65 The default value is 600, or ten minutes.
66 .It Fl t
67 Number of seconds to wait before trying to unmount a filesystem.
68 The default value is 600, or ten minutes.
69 .It Fl v
70 Increase verbosity.
71 .El
72 .Sh EXIT STATUS
73 .Ex -std
74 .Sh SEE ALSO
75 .Xr auto_master 5 ,
76 .Xr autofs 5 ,
77 .Xr automount 8 ,
78 .Xr automountd 8
79 .Sh HISTORY
80 The
81 .Nm
82 daemon appeared in
83 .Fx 10.1 .
84 The
85 .Nm
86 daemon appeared in
87 .Dx 4.5 .
88 .Sh AUTHORS
89 The
90 .Nm
91 was developed by
92 .An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
93 under sponsorship from the FreeBSD Foundation.
94 .Pp
95 The
96 .Nm
97 was ported to
98 .Dx
99 by
100 .An Tomohiro Kusumi Aq Mt kusumi.tomohiro@gmail.com .