original interface name? (5.*)

Brooks Davis brooks at one-eyed-alien.net
Fri Sep 10 12:31:56 PDT 2004


On Fri, Sep 10, 2004 at 10:18:31PM +0300, Valentin Nechayev wrote:
> Hi,
> is there a stable way to determine original interface name (before
> any renaming) in 5.3? I.e. as driver + sequence number?

What do you want it for and where do you want it?  I think there were
plans to export if_dname and if_dunit via sysctls, but I don't think
that ever happened and they aren't really ment to be user visiable.
There's also no requirement that ("%s%d", if_dname, if_dunit) ever have
been the name of the interface (for instance in enhanced cloners such as
stf(4) and vlan(4)).

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040910/08be0f59/attachment.bin


More information about the freebsd-net mailing list