devd.8 (262914) | devd.8 (270004) |
---|---|
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 262914 2014-03-07 23:30:48Z asomers $ | 26.\" $FreeBSD: head/sbin/devd/devd.8 270004 2014-08-14 22:33:56Z asomers $ |
27.\" | 27.\" |
28.Dd January 30, 2013 | 28.Dd August 14, 2014 |
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 dnq --- 13 unchanged lines hidden (view full) --- 50Use configuration file 51.Ar file 52instead of the default 53.Pa /etc/devd.conf . 54If option 55.Fl f 56is specified more than once, the last file specified is used. 57.It Fl l Ar num | 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 dnq --- 13 unchanged lines hidden (view full) --- 50Use configuration file 51.Ar file 52instead of the default 53.Pa /etc/devd.conf . 54If option 55.Fl f 56is specified more than once, the last file specified is used. 57.It Fl l Ar num |
58Limit concurrent 59.Pa /var/run/devd.pipe 60connections to | 58Limit concurrent socket connections to |
61.Ar num . 62The default connection limit is 10. 63.It Fl n 64Do not process all pending events before becoming a daemon. 65Instead, call daemon right away. 66.It Fl q 67Quiet mode. Only log messages at priority LOG_WARNING or above. 68.El --- 56 unchanged lines hidden (view full) --- 125.Pa *.conf 126are parsed. 127These files are intended to be installed by third party vendors that 128wish to hook into the 129.Nm 130system without modifying the user's other 131config files. 132.Pp | 59.Ar num . 60The default connection limit is 10. 61.It Fl n 62Do not process all pending events before becoming a daemon. 63Instead, call daemon right away. 64.It Fl q 65Quiet mode. Only log messages at priority LOG_WARNING or above. 66.El --- 56 unchanged lines hidden (view full) --- 123.Pa *.conf 124are parsed. 125These files are intended to be installed by third party vendors that 126wish to hook into the 127.Nm 128system without modifying the user's other 129config files. 130.Pp |
133All messages that | 131Since 132.Xr devctl 4 133allows only one active reader, |
134.Nm | 134.Nm |
135receives are forwarded to the | 135multiplexes it, forwarding all events to any number of connected clients. 136Clients connect by opening the SOCK_SEQPACKET |
136.Ux 137domain socket at | 137.Ux 138domain socket at |
138.Pa /var/run/devd.pipe . | 139.Pa /var/run/devd.seqpacket.pipe . |
139.Sh FILES | 140.Sh FILES |
140.Bl -tag -width ".Pa /var/run/devd.pipe" -compact | 141.Bl -tag -width ".Pa /var/run/devd.seqpacket.pipe" -compact |
141.It Pa /etc/devd.conf 142The default 143.Nm 144configuration file. | 142.It Pa /etc/devd.conf 143The default 144.Nm 145configuration file. |
145.It Pa /var/run/devd.pipe | 146.It Pa /var/run/devd.seqpacket.pipe |
146The socket used by 147.Nm 148to communicate with its clients. | 147The socket used by 148.Nm 149to communicate with its clients. |
150.It Pa /var/run/devd.pipe 151A deprecated socket retained for use with old clients. |
|
149.El 150.Sh SEE ALSO 151.Xr devctl 4 , 152.Xr devd.conf 5 153.Sh AUTHORS 154.An M. Warner Losh | 152.El 153.Sh SEE ALSO 154.Xr devctl 4 , 155.Xr devd.conf 5 156.Sh AUTHORS 157.An M. Warner Losh |