Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  8 Nov 2004 07:05:10 -0500 (EST)
From:      Dan Pelleg <daniel+gnats@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/73668: devd does not parse external files
Message-ID:  <20041108120510.64FC9FF0@palraz.wburn>
Resent-Message-ID: <200411081210.iA8CAWh1023263@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041108120510.64FC9FF0>