From owner-freebsd-arch Fri Sep 14 8:20:48 2001 Delivered-To: freebsd-arch@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id DEE4437B403; Fri, 14 Sep 2001 08:20:41 -0700 (PDT) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f8EFKfS08642; Fri, 14 Sep 2001 08:20:41 -0700 Date: Fri, 14 Sep 2001 08:20:41 -0700 From: Brooks Davis To: Ruslan Ermilov Cc: net@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: review request: creating cloneable interfaces at boot Message-ID: <20010914082041.A7169@Odin.AC.HMC.Edu> References: <20010913200221.A11788@Odin.AC.HMC.Edu> <20010914143530.E12915@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010914143530.E12915@sunbay.com>; from ru@FreeBSD.ORG on Fri, Sep 14, 2001 at 02:35:30PM +0300 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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