devd question

Roland Smith rsmith at xs4all.nl
Mon Mar 2 12:13:59 PST 2009


On Mon, Mar 02, 2009 at 08:48:53PM +0200, Kostik Belousov wrote:
<snip>
> > This system is missing from the devd.conf manual page, nor is DEVFS
> > mentioned in /usr/share/examples/etc/devd.conf. Is it documented
> > somewhere else?
> 
> No, it is not documented anywhere.
> Feel free to send me the documentation patch.

After some digging, I found the function devctl_notify in the kernel
sources (/usr/src/sys/kern/subr_bus.c). Is looks like the only way that events
are sent to devd, correct? If so, I can just use "grep -A 1 -R 'devctl_notify('"
from /usr/src/sys to find all types of events.

I'll go and pull the source for devd.conf from HEAD and 7-STABLE, and
incorporate what I find. Should I file a PR when I'm done?

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090302/ad48fda4/attachment.pgp


More information about the freebsd-stable mailing list