Date: Tue, 3 Feb 2004 19:03:22 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Brooks Davis <brooks@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.8 ifconfig.c Message-ID: <20040204030321.GA31522@Odin.AC.HMC.Edu> In-Reply-To: <200402040255.i142tkpS014859@repoman.freebsd.org> References: <200402040255.i142tkpS014859@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040204030321.GA31522>