svn commit: r340086 - head/sbin/devd
Warner Losh
imp at FreeBSD.org
Fri Nov 2 22:15:31 UTC 2018
Author: imp
Date: Fri Nov 2 22:15:30 2018
New Revision: 340086
URL: https://svnweb.freebsd.org/changeset/base/340086
Log:
Document r226775: tell why we omit usbus[0-9]+
tcpdump can capture packet traces from the usb bus. usbus[0-9] are
registered as ifnet devices so this can work. When these devices come
up, devd was trying to run pccard_ether on those interfaces, which
didn't exist and generated an error.
Modified:
head/sbin/devd/devd.conf
Modified: head/sbin/devd/devd.conf
==============================================================================
--- head/sbin/devd/devd.conf Fri Nov 2 22:12:30 2018 (r340085)
+++ head/sbin/devd/devd.conf Fri Nov 2 22:15:30 2018 (r340086)
@@ -33,7 +33,9 @@ options {
#
# Configure the interface on attach. Due to a historical accident, this
-# script is called pccard_ether.
+# script is called pccard_ether. We omit the usbus devices because those
+# devices are assocaited with the USB Bus and provide a tcpdump point
+# to capture USB packets.
#
# NB: DETACH events are ignored; the kernel should handle all cleanup
# (routes, arp cache). Beware of races against immediate create
More information about the svn-src-all
mailing list