Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2004 12:32:02 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Valentin Nechayev <netch@lucky.net>
Cc:        net@freebsd.org
Subject:   Re: original interface name? (5.*)
Message-ID:  <20040910193202.GB28085@odin.ac.hmc.edu>
In-Reply-To: <20040910191831.GP89036@lucky.net>
References:  <20040910191831.GP89036@lucky.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--hHWLQfXTYDoKhP50
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
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

--hHWLQfXTYDoKhP50
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBQgExXY6L6fI4GtQRAtwyAKDWcavjBLvkM2KxwA2ixsCopgR3swCfbrpc
hNUeEO4hfRUnq31S4bm5RcA=
=lV0M
-----END PGP SIGNATURE-----

--hHWLQfXTYDoKhP50--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040910193202.GB28085>