From owner-cvs-all Wed Jul 7 9:24:27 1999 Delivered-To: cvs-all@freebsd.org Received: from gndrsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 8BAD8151FD; Wed, 7 Jul 1999 09:23:59 -0700 (PDT) (envelope-from rgrimes@gndrsh.aac.dev.com) Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.9.3/8.9.3) id JAA38429; Wed, 7 Jul 1999 09:23:56 -0700 (PDT) (envelope-from rgrimes) From: "Rodney W. Grimes" Message-Id: <199907071623.JAA38429@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/etc rc.network src/etc/defaults rc.conf In-Reply-To: <199907071249.FAA31634@freefall.freebsd.org> from Peter Wemm at "Jul 7, 1999 05:49:48 am" To: peter@FreeBSD.org (Peter Wemm) Date: Wed, 7 Jul 1999 09:23:56 -0700 (PDT) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > peter 1999/07/07 05:49:48 PDT > > Modified files: > etc rc.network > etc/defaults rc.conf > Log: > Do away with ${network_interfaces} in rc.conf. Just use `ifconfig -l` to > get a list of interfaces, and then automatically configure them if > ${ifconfig_${ifn}} or /etc/start_if.${ifn} exists. > > This makes it a lot easier to deal with machines that constantly change > their network configuration as you can leave ifconfig settings for all > the possible cards - just the ones that are present will be configured. > > Revision Changes Path > 1.48 +12 -3 src/etc/rc.network > 1.16 +1 -2 src/etc/defaults/rc.conf I strongly dislike this idea. If I list an interface in network_interfaces during boot: a) I want to see an error if the physical device is missing b) It might not even exist in an ifconfig -l at this time, it just might be getting created by /etc/start_if.X IMHO trying to make this smart is going to lead you down the road to the problems that happen on Micro$oft systems. -- Rod Grimes - KD7CAX - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message