From owner-freebsd-net@FreeBSD.ORG Fri Sep 10 19:31:56 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18A0F16A4CE for ; Fri, 10 Sep 2004 19:31:56 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDABE43D1F for ; Fri, 10 Sep 2004 19:31:55 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i8AJW2xG004915; Fri, 10 Sep 2004 12:32:02 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i8AJW2oo004914; Fri, 10 Sep 2004 12:32:02 -0700 Date: Fri, 10 Sep 2004 12:32:02 -0700 From: Brooks Davis To: Valentin Nechayev Message-ID: <20040910193202.GB28085@odin.ac.hmc.edu> References: <20040910191831.GP89036@lucky.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hHWLQfXTYDoKhP50" Content-Disposition: inline In-Reply-To: <20040910191831.GP89036@lucky.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: net@freebsd.org Subject: Re: original interface name? (5.*) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 19:31:56 -0000 --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--