From owner-freebsd-arch@FreeBSD.ORG Mon Apr 7 20:25:26 2008 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A0D5106564A for ; Mon, 7 Apr 2008 20:25:26 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5B4D58FC15 for ; Mon, 7 Apr 2008 20:25:25 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m37KPRsJ042355; Mon, 7 Apr 2008 15:25:27 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m37KPRh6042354; Mon, 7 Apr 2008 15:25:27 -0500 (CDT) (envelope-from brooks) Date: Mon, 7 Apr 2008 15:25:27 -0500 From: Brooks Davis To: Ermal Lu?i Message-ID: <20080407202527.GG28511@lor.one-eyed-alien.net> References: <9a542da30804071201o520812f8w4fc413131c4140b0@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zGQnqpIoxlsbsOfg" Content-Disposition: inline In-Reply-To: <9a542da30804071201o520812f8w4fc413131c4140b0@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Mon, 07 Apr 2008 15:25:28 -0500 (CDT) Cc: freebsd-arch@freebsd.org Subject: Re: Question about network interface naming and devfs(5)! X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2008 20:25:26 -0000 --zGQnqpIoxlsbsOfg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 07, 2008 at 09:01:18PM +0200, Ermal Lu?i wrote: > Hello, >=20 > it seems that devfs(5) is not consistent with network interface naming fe= ature. >=20 > Network interface naming is offered by ifconfig $interface name $name. > This feature is really helpful to distinguish interfaces properly in a > machine and helps in scripting things. > The problem is that the ioctl that renames the device advertises it as > an interface arrival event which devfs does not handle and such you > have inconsistence between ifconfig output and the information in > devfs. >=20 > Are there any plans to fix this or is there any issue for not making > devfs(5) aware of network interfaces events?! I haven't dealt with it because a) there's no way to rename entries which currently means you've have to destroy the current entry and add a completely new one which would break applications using the devfs entries across renames and b) I think the devfs entries are a mistake and should die. -- Brooks --zGQnqpIoxlsbsOfg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFH+oM3XY6L6fI4GtQRApIRAKDLVECgTdMb6Ba/331rYq3lhtBl3wCgyFHV XwHgDF/q3lOwPFuMcr5imcI= =EwHx -----END PGP SIGNATURE----- --zGQnqpIoxlsbsOfg--