aboutsummaryrefslogtreecommitdiff
path: root/sbin/devd/devd.8
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2014-05-21 23:04:47 +0000
committerAlan Somers <asomers@FreeBSD.org>2014-05-21 23:04:47 +0000
commit9102691e9cde7b12ddd929d376e94051acdf5c8b (patch)
tree09f04df9dda7b8b416dc5b5bb838ac6674ed70c5 /sbin/devd/devd.8
parent414fdaf09dec0d34181d91254e83ecb1a8a360d9 (diff)
downloadsrc-9102691e9cde7b12ddd929d376e94051acdf5c8b.tar.gz
src-9102691e9cde7b12ddd929d376e94051acdf5c8b.zip
sbin/devd/devd.8
sbin/devd/devd.cc Create a new socket, of type SOCK_SEQPACKET, for communicating with clients. SOCK_SEQPACKET sockets preserve record boundaries, simplying code in the client. The old SOCK_STREAM socket is retained for backwards-compatibility with existing clients. Sponsored by: Spectra Logic
Notes
Notes: svn path=/projects/zfsd/head/; revision=266519
Diffstat (limited to 'sbin/devd/devd.8')
-rw-r--r--sbin/devd/devd.819
1 files changed, 11 insertions, 8 deletions
diff --git a/sbin/devd/devd.8 b/sbin/devd/devd.8
index fa34df23ee19..57d4fe3dc94c 100644
--- a/sbin/devd/devd.8
+++ b/sbin/devd/devd.8
@@ -55,9 +55,7 @@ If option
.Fl f
is specified more than once, the last file specified is used.
.It Fl l Ar num
-Limit concurrent
-.Pa /var/run/devd.pipe
-connections to
+Limit concurrent socket connections to
.Ar num .
The default connection limit is 10.
.It Fl n
@@ -130,22 +128,27 @@ wish to hook into the
system without modifying the user's other
config files.
.Pp
-All messages that
+Since
+.Xr devctl 4
+allows only one active reader,
.Nm
-receives are forwarded to the
+multiplexes it, forwarding all events to any number of connected clients.
+Clients connect by opening the SOCK_SEQPACKET
.Ux
domain socket at
-.Pa /var/run/devd.pipe .
+.Pa /var/run/devd.seqpacket.pipe .
.Sh FILES
-.Bl -tag -width ".Pa /var/run/devd.pipe" -compact
+.Bl -tag -width ".Pa /var/run/devd.seqpacket.pipe" -compact
.It Pa /etc/devd.conf
The default
.Nm
configuration file.
-.It Pa /var/run/devd.pipe
+.It Pa /var/run/devd.seqpacket.pipe
The socket used by
.Nm
to communicate with its clients.
+.It Pa /var/run/devd.pipe
+An deprecated socket retained for use with old clients.
.El
.Sh SEE ALSO
.Xr devctl 4 ,