From owner-cvs-all@FreeBSD.ORG Tue Feb 3 19:03:27 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEDA316A4CE; Tue, 3 Feb 2004 19:03:26 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE7BF43D45; Tue, 3 Feb 2004 19:03:25 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i1433M2h006995; Tue, 3 Feb 2004 19:03:22 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i1433MXj006988; Tue, 3 Feb 2004 19:03:22 -0800 Date: Tue, 3 Feb 2004 19:03:22 -0800 From: Brooks Davis To: Brooks Davis Message-ID: <20040204030321.GA31522@Odin.AC.HMC.Edu> References: <200402040255.i142tkpS014859@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <200402040255.i142tkpS014859@repoman.freebsd.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.8 ifconfig.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 03:03:27 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 03, 2004 at 06:55:46PM -0800, Brooks Davis wrote: > brooks 2004/02/03 18:55:46 PST >=20 > FreeBSD src repository >=20 > Modified files: > sbin/ifconfig ifconfig.8 ifconfig.c=20 > Log: > Add ifconfig support for network interface renaming. In the process, > reorganize the printing of the interface name when using wildcard > cloning so it is not printed if it we either immediately rename or > destroy the interface. This means you can give an interface any name up to 15 characters (IFNAMSIZ-1) with a command like: ifconfig xl0 name wired I've been using this one in /etc/rc.early on my laptop to test the renaming code. You can rename an interface at any time, but there are likely to be edge cases in userland programs that don't like the interface name changing under them. In most cases, this is a bug in the program. There are also programs that assume interface names are fairly short (4-5 characters including the unit). Nothing has been done to address this issue. Please report edge cases to me and the -net list. -- 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 --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAIGD5XY6L6fI4GtQRArDbAJ0YGCPW7QAzq5BVSI8X6SPSe7yGqwCg2Pb7 QwaqyxzWunC1A4jt6pjHJrc= =pbWD -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--