Deleted Added
full compact
devd.8 (139987) devd.8 (152770)
1.\"
2.\" Copyright (c) 2002 M. Warner Losh.
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright (c) 2002 M. Warner Losh.
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/sbin/devd/devd.8 139987 2005-01-10 16:17:34Z ru $
26.\" $FreeBSD: head/sbin/devd/devd.8 152770 2005-11-24 14:39:41Z jkoshy $
27.\"
28.Dd October 17, 2002
29.Dt DEVD 8
30.Os
31.Sh NAME
32.Nm devd
33.Nd "device state change daemon"
34.Sh SYNOPSIS
35.Nm
27.\"
28.Dd October 17, 2002
29.Dt DEVD 8
30.Os
31.Sh NAME
32.Nm devd
33.Nd "device state change daemon"
34.Sh SYNOPSIS
35.Nm
36.Op Fl Ddn
36.Op Fl Dd
37.Op Fl f Ar file
38.Op Fl n
37.Sh DESCRIPTION
38The
39.Nm
40daemon provides a way to have userland programs run when certain
41kernel events happen.
42.Pp
43The following options are accepted.
39.Sh DESCRIPTION
40The
41.Nm
42daemon provides a way to have userland programs run when certain
43kernel events happen.
44.Pp
45The following options are accepted.
44.Bl -tag -width indent
46.Bl -tag -width indent-two
45.It Fl D
46Enable debugging messages.
47.It Fl d
48Run in the foreground instead of becoming a daemon.
47.It Fl D
48Enable debugging messages.
49.It Fl d
50Run in the foreground instead of becoming a daemon.
51.It Fl f Ar file
52Use configuration file
53.Ar file
54instead of the default
55.Pa /etc/devd.conf .
56If option
57.Fl f
58is specified more than once, the last file specified is used.
49.It Fl n
50Do not process all pending events before becoming a daemon.
51Instead, call daemon right away.
52.El
53.Sh IMPLEMENTATION NOTES
54The
55.Nm
56utility

--- 33 unchanged lines hidden (view full) ---

90However, for more advanced users, the power is present to tweak every
91aspect of what happens.
92.Pp
93The
94.Nm
95utility
96reads
97.Pa /etc/devd.conf
59.It Fl n
60Do not process all pending events before becoming a daemon.
61Instead, call daemon right away.
62.El
63.Sh IMPLEMENTATION NOTES
64The
65.Nm
66utility

--- 33 unchanged lines hidden (view full) ---

100However, for more advanced users, the power is present to tweak every
101aspect of what happens.
102.Pp
103The
104.Nm
105utility
106reads
107.Pa /etc/devd.conf
98and uses that file to drive the rest of the process.
108or the alternate configuration file specified with a
109.Fl f
110option and uses that file to drive the rest of the process.
99While the format of this file is described in
100.Xr devd.conf 5 ,
101some basics are covered here.
102In the
103.Ic options
104section, one can define multiple directories to search
105for config files.
106All files in these directories whose names match the pattern

--- 6 unchanged lines hidden (view full) ---

113config files.
114.Pp
115All messages that
116.Nm
117receives are forwarded to the
118.Ux
119domain socket at
120.Pa /var/run/devd.pipe .
111While the format of this file is described in
112.Xr devd.conf 5 ,
113some basics are covered here.
114In the
115.Ic options
116section, one can define multiple directories to search
117for config files.
118All files in these directories whose names match the pattern

--- 6 unchanged lines hidden (view full) ---

125config files.
126.Pp
127All messages that
128.Nm
129receives are forwarded to the
130.Ux
131domain socket at
132.Pa /var/run/devd.pipe .
133.Sh FILES
134.Bl -tag -width ".Pa /var/run/devd.pipe" -compact
135.It Pa /etc/devd.conf
136The default
137.Nm
138configuration file.
139.It Pa /var/run/devd.pipe
140The socket used by
141.Nm
142to communicate with its clients.
143.El
121.Sh SEE ALSO
122.Xr devctl 4 ,
123.Xr devd.conf 5
124.Sh AUTHORS
125.An M. Warner Losh
144.Sh SEE ALSO
145.Xr devctl 4 ,
146.Xr devd.conf 5
147.Sh AUTHORS
148.An M. Warner Losh