History log of /freebsd-9.3-release/sbin/devd/devd.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 247802 04-Mar-2013 ian

MFC r246361 ... bump .Dd for content change.


# 247576 01-Mar-2013 ian

MFC r246121 ...

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.


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 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