Re: devd *NOT* called on wi0 insert?

From: Larry Rosenman <ler_at_lerctr.org>
Date: Sat, 06 Sep 2003 03:24:16 -0500
--On Friday, September 05, 2003 15:41:22 -0500 Larry Rosenman 
<ler_at_lerctr.org> wrote:

 > Although I'd like to tell it NOT to config the onboard rl0 interface.
>> : >
>> : > Will ifconfig_rl0="NO" do that?
>> : In answer to my own question, the answer is NO.
>> :
>> : So, we still need a way to do that.
>>
>> You can use tell devd.conf to say that all attachemnts to the pci bus
>> do nothing.
> Could I impose on you to give me the magic?  I'm confused and want to
> learn.
Again in answer to my own question:
$ diff -c /usr/src/etc/devd.conf /etc/devd.conf
*** /usr/src/etc/devd.conf      Thu Aug 21 21:23:04 2003
--- /etc/devd.conf      Sat Sep  6 03:16:09 2003
***************
*** 63,68 ****
--- 63,73 ----
        action "camcontrol rescan all";
  };

+ attach 20 {
+         device-name "rl0";
+         action "echo rl0 config skipped";
+ };
+
  # Don't even try to second guess what to do about drivers that don't
  # match here.  Instead, pass it off to syslog.  Commented out for the
  # moment, as pnpinfo isn't set in devd yet

However, I still am not impressed with the devd.conf(5) man page.  It could
be lots more helpful.

LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler_at_lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Received on Fri Sep 05 2003 - 23:24:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC