Add devd event on network iface rename.
Details
Details
- Reviewers
asomers imp - Group Reviewers
network - Commits
- rG4fb3e0bb94ab: devctl: add RENAME devctl event for IFNET
Apply patch, rebuild and reinstall kernel.
Run in terminal1:
cat /var/run/devd.pipe
In terminal2:
ifconfig lan0 name lan1
ifconfig lan1 name lan0
Result
terminal1 will produce output:
!system=IFNET subsystem=lan0 type=RENAME name=lan1
!system=IFNET subsystem=lan1 type=RENAME name=lan0
*lan0 must me replaced with real network interface name.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
There's insufficient context in the diff. If you created this revision through the web interface, use "diff -U 9999" to capture more context. OTOH, you won't need to do that if you use the arcanist CLI,
Comment Actions
This diff based on changes from https://reviews.freebsd.org/D30840 for file: sbin/devd/devd.conf.5