kern/73668: devd does not parse external files
Dan Pelleg
daniel+gnats at FreeBSD.org
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
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 08 12:10:32 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Dan Pelleg
>Release: FreeBSD 5.3-BETA5 i386
>Organization:
>Environment:
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
>Description:
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
>How-To-Repeat:
Place a rule file in /etc/devd/foo, and try to attach the corresponding device.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list