devd *NOT* called on wi0 insert?

Larry Rosenman ler at lerctr.org
Sat Sep 6 01:24:24 PDT 2003



--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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030906/590e0634/attachment.bin


More information about the freebsd-current mailing list