bin/82367: [PATCH] ifconfig ifname.tag does not automatically load if_vlan module

Yar Tikhiy yar at FreeBSD.org
Sun Oct 2 19:50:38 PDT 2005


Synopsis: [PATCH] ifconfig ifname.tag does not automatically load if_vlan module

State-Changed-From-To: open->closed
State-Changed-By: yar
State-Changed-When: Mon Oct 3 02:40:39 GMT 2005
State-Changed-Why: 
I'm sorry to close this PR, but indeed the interface name
handling in FreeBSD is too sophisticated to assume that
rl0.10 will always stand for vlan 10 on rl0.  As a matter
of fact, the kernel iterates over all loaded drivers
to see which one claims the interface name to create,
and each driver provides a function that determines if
the name belongs to this driver.  You see, there is no
simple 1-to-1 correspondence between an interface name
and the respective driver.

ifconfig(8) tries to guess interface type from its name,
but this is really primitive and tricky because it doesn't
quite correspond to what happens in the kernel.


Responsible-Changed-From-To: freebsd-bugs->yar
Responsible-Changed-By: yar
Responsible-Changed-When: Mon Oct 3 02:40:39 GMT 2005
Responsible-Changed-Why: 
Just looking after vlan(4) sometimes.

http://www.freebsd.org/cgi/query-pr.cgi?pr=82367


More information about the freebsd-bugs mailing list