Date: Mon, 3 Oct 2005 02:50:38 GMT From: Yar Tikhiy <yar@FreeBSD.org> To: nuno.antunes@gmail.com, yar@FreeBSD.org, freebsd-bugs@FreeBSD.org, yar@FreeBSD.org Subject: Re: bin/82367: [PATCH] ifconfig ifname.tag does not automatically load if_vlan module Message-ID: <200510030250.j932ocqj002575@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510030250.j932ocqj002575>