kern/73668: devd does not parse external files

Dan Pelleg daniel+gnats at
Mon Nov 8 04:10:33 PST 2004

>Number:         73668
>Category:       kern
>Synopsis:       devd does not parse external files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 08 12:10:32 GMT 2004
>Originator:     Dan Pelleg
>Release:        FreeBSD 5.3-BETA5 i386

FreeBSD m 5.3-BETA5 FreeBSD 5.3-BETA5 #0: Sun Sep 19 02:35:12 UTC 2004     root at wv1u.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386

 Trying to place device entries in new files in /etc/devd does not have any effect.
If I add the following to /etc/devd.conf:
attach 10 {
        device-name "ipw[0-9]+";
        action "/etc/pccard_ether $device-name start";
detach 10 {
        device-name "ipw[0-9]+";
        action "/etc/pccard_ether $device-name stop";

 Then it has the desired effect. But if instead I place that in a file /etc/devd/ipw,
nothing happens. Running devd -D -d shows that it "parses /etc/devd", but ipw[]
is not in the list of things it matches against

 Place a rule file in /etc/devd/foo, and try to attach the corresponding device.



More information about the freebsd-bugs mailing list