Date: Fri, 14 Sep 2001 08:20:41 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Ruslan Ermilov <ru@FreeBSD.ORG> Cc: net@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: review request: creating cloneable interfaces at boot Message-ID: <20010914082041.A7169@Odin.AC.HMC.Edu> In-Reply-To: <20010914143530.E12915@sunbay.com>; from ru@FreeBSD.ORG on Fri, Sep 14, 2001 at 02:35:30PM %2B0300 References: <20010913200221.A11788@Odin.AC.HMC.Edu> <20010914143530.E12915@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 14, 2001 at 02:35:30PM +0300, Ruslan Ermilov wrote: > Umm, how about extending the ${network_interfaces} functionality as follo= ws. > For each ${network_interfaces} argument, >=20 > 1. if the value is `auto', add `ifconfig -l' to the list of interfaces > 2. for every other argument which is not in the `ifconfig -l' list > (ifconfig -l | grep -wq ${ifn} returns non-zero), but in the > list of cloners (ifconfig -L) creates the corresponding interface. I don't really like that idea very much. If you implement 2) that way you lose ifconfig's auto module loading. You actually have to blindly try if you want that to work (and I do). Because of this, I like having a seperate variable that you only use for clonable interfaces. -- 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 --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7oiBIXY6L6fI4GtQRAux5AJkBfQxcIZP6WrZayPcSWrDCrVxa0wCdH1FC STBlZwq1mhV18Ayu0B/CWnc= =o+Jm -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010914082041.A7169>