BSDCon '03 Abstract
Pp. 7-16 of the Proceedings
devdA Device Configuration Daemon
M. Warner Losh, Timing Solutions, Inc.
Hot-pluggable bus technologies have proliferated,
rendering traditional boot time configuration of devices via an /etc/rc script insuficient for many
user's needs. Most implementations of hot-plug
technologies have provided a means to address these
deficiencies, yet their solutions tend to be confined
to only that technology. The goal of FreeBSD's
devd(8) is to provide a uniform framework by which
interesting events relating to hot-plugging can be
handled. devd provides a regular framework for
these technologies to have user-land configuration
commands run in a generic, extensible way. The implementation encountered a number of issues which
are instructive to explore. devd only responds to
events that the kernel generates and does not participate in interactions with the kernel that would
block another thread of execution. At the present
time, devd supports executing arbitrary commands
when a driver attaches to the tree, when it detaches
and when a bus detects an unknown device attached
to that bus.
- View the full text of this paper in
Until September 2004, you will need your USENIX membership identification in order to access the full papers. The Proceedings are published as a collective work, © 2003 by the USENIX Association. All Rights Reserved. Rights to individual papers remain with the author or the author's employer. Permission is granted for the noncommercial reproduction of the complete work for educational or research purposes. USENIX acknowledges all trademarks within this paper.
- If you need the latest Adobe Acrobat Reader, you can download it from Adobe's site.