cvs commit: src/etc devd.conf src/etc/rc.d devd src/sys/net if.c
Andrew Thompson
thompsa at FreeBSD.org
Wed May 31 17:42:57 PDT 2006
thompsa 2006-06-01 00:41:07 UTC
FreeBSD src repository
Modified files:
etc devd.conf
etc/rc.d devd
sys/net if.c
Log:
Announce all interfaces to devd on attach/detach. This adds a new devctl
notification so all interfaces including pseudo are reported. When netif
creates the clones at startup devctl_disable has not been turned off yet so the
interfaces will not be initialised twice, enforce this by adding an explicit
order between rc.d/netif and rc.d/devd.
This change allows actions to taken in userland when an interface is cloned
and the pseudo interface will be automatically configured if a ifconfig_<int>=""
line exists in rc.conf.
Reviewed by: brooks
No objections on: net
Revision Changes Path
1.33 +10 -8 src/etc/devd.conf
1.9 +2 -2 src/etc/rc.d/devd
1.256 +2 -0 src/sys/net/if.c
More information about the cvs-src
mailing list