#
307432 |
|
16-Oct-2016 |
sevan |
MFC r306727: Add history section for devd(8) Move sentence to a new line as advised by igor
PR: 212439 Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D8104
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
270004 |
|
14-Aug-2014 |
asomers |
Convert devd's client socket to type SOCK_SEQPACKET.
This change consists of two merges from projects/zfsd/head along with the addition of an ATF test case for the new functionality.
sbin/devd/tests/Makefile sbin/devd/tests/client_test.c Add ATF test cases for reading events from both devd socket types.
r266519: 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.
r269993: sbin/devd/devd.8 Fix grammar bug.
CR: https://reviews.freebsd.org/rS266519 MFC after: 5 days Sponsored by: Spectra Logic
|
#
262914 |
|
07-Mar-2014 |
asomers |
sbin/devd/devd.8 sbin/devd/devd.cc Add a -q flag to devd that will suppress syslog logging at LOG_NOTICE or below.
Requested by: ian@ and imp@ MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
|
#
252481 |
|
01-Jul-2013 |
asomers |
Add syslog(3) support to devd(8).
sbin/devd/devd.cc All output will now go to syslog(3) if devd is daemonized, or stderr if it's running in the foreground.
sbin/devd/devd.8 Remove the "-D" flag. Filtering messages by priority now happens in the usual syslog way. For performance reasons, a few extra-verbose debugging statements are now conditional on the "-d" (do not daemonize) flag.
etc/syslog.conf etc/newsyslog.conf Direct messages from devd(8) to /var/log/devd.log, but leave it disabled by default
Reviewed by: eadler Approved by: gibbs (co-mentor) MFC after: never (removed a command-line option from devd)
|
#
246361 |
|
05-Feb-2013 |
zeising |
Bump .Dd for the change in r246121.
Approved by: joel (mentor)
|
#
246121 |
|
30-Jan-2013 |
ian |
Fix a descriptor leak in devd. Clients reading /var/run/devd.pipe can close their socket connection any time, and devd only notices that when it gets an error trying to write an event to the client. On a system with no device change activity, clients could connect and disappear repeatedly without devd noticing, leading to an ever-growing list of open socket descriptors in devd.
Now devd uses poll(2) looking for POLLHUP on all existing clients every time a new client connection is established, and also periodically (once a minute) to proactively find zombie clients and reap the socket descriptors. It also now has a connection limit, configurable with a new -l <num> command line arg. When the maximum number of connections is reached it stops accepting new connections until some current clients drop off.
Reviewed by: imp Approved by: cognet (mentor)
|
#
228566 |
|
16-Dec-2011 |
glebius |
Xref re_format(7) in devd.conf(5), not in devd(8).
Pointy hat to: glebius
|
#
228565 |
|
16-Dec-2011 |
glebius |
Xref re_format(7).
|
#
162388 |
|
17-Sep-2006 |
ru |
Add -f option to program's usage(), fix manpage's SYNOPSIS.
|
#
153522 |
|
19-Dec-2005 |
jkoshy |
Rev 1.15 should have incremented the date on this manual page.
|
#
152770 |
|
24-Nov-2005 |
jkoshy |
Add a -f configfile option to devd(8), based on a patch submitted by Wojciech A. Koszek.
Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
|
#
139987 |
|
10-Jan-2005 |
ru |
Scheduled mdoc(7) sweep.
|
#
138162 |
|
28-Nov-2004 |
ceri |
Clarify that devd will only parse files whose names end in .conf. Prompted by
PR: docs/73668 Submitted by: Dan Pelleg MFC After: 3 days
|
#
131754 |
|
07-Jul-2004 |
ru |
mdoc(7) fixes.
|
#
131397 |
|
01-Jul-2004 |
imp |
Create a unix domain socket and write to it all the events that come in over the socket.
|
#
120474 |
|
26-Sep-2003 |
rse |
fix typo: s/Instaed/Instead/
|
#
115114 |
|
17-May-2003 |
ru |
mdoc(7) fixes: Expand contraction.
|
#
113790 |
|
21-Apr-2003 |
imp |
Implement a two new flags, and change the meaning of another one. 'd': now means don't do daemon(). 'D': Debug 'n': Don't wait to process all pending events before calling daemon.
In the past, devd would call daemon immediately. However, this causes a race. If anything in the boot process depends on configuring the devices configured by devd, maybe they would be configured in time, maybe not. Now we don't call daemon until all pending events are processed, unless -n is specified.
# -n is actually the default for a while due to the select(2) bug in devctl # that I just fixed to give people a chance to upgrade.
|
#
111813 |
|
03-Mar-2003 |
ru |
mdoc(7) police: Revision.
|
#
110877 |
|
14-Feb-2003 |
imp |
devd bugs section is now OBE
|
#
108317 |
|
27-Dec-2002 |
schweikh |
english(4) police.
|
#
107045 |
|
18-Nov-2002 |
imp |
Add BUGS section and note departure of actual implementation from what is documented so the pioneers will know why it works the way it does.
|
#
106875 |
|
13-Nov-2002 |
jhb |
Try to reword things a bit more to make it clearer.
Reviewed by: imp
|
#
106869 |
|
13-Nov-2002 |
jhb |
- Fix some minor grammar and spelling nits. - Massage the wording in a few places. - Put .Nm on lines by itself so it renders correctly.
Reviewed by: imp
|
#
105573 |
|
20-Oct-2002 |
imp |
devd. A daemon that hooks into the kernel's /dev/devctl to produce arbitrary commands when devices come and go in the device tree (which is different than the /dev directory).
This is an initial version. Much of the planned power isn't here. Instead of doing the full matching, we always run /etc/devd-generic. /etc/devd.generic will go away at some point, I think.
I'm committing it in this early state so I can start getting feedback from early adapters.
Approved by: re
|