| Summary: | devd does not parse external files | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Dan Pelleg <daniel+gnats> |
| Component: | Books & Articles | Assignee: | Ceri Davies <ceri> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Updated to show correct email address of originator. Responsible Changed From-To: freebsd-bugs->freebsd-doc This is actually a documentation bug; files in /etc/devd must match the pattern *.conf, contrary to a statement in devd(8). Responsible Changed From-To: freebsd-doc->ceri Whoops, assign to me. State Changed From-To: open->patched The devd.8 manpage has been patched in HEAD. State Changed From-To: patched->closed Merged to RELENG_5 in revision 1.12.2.1. Thanks for the submission. |
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.