From owner-cvs-all Wed Jul 7 9:30:42 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 614D314F0B; Wed, 7 Jul 1999 09:29:32 -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 JAA38447; Wed, 7 Jul 1999 09:29:24 -0700 (PDT) (envelope-from rgrimes) From: "Rodney W. Grimes" Message-Id: <199907071629.JAA38447@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/etc rc.network src/etc/defaults rc.conf In-Reply-To: <199907071623.JAA38429@gndrsh.aac.dev.com> from "Rodney W. Grimes" at "Jul 7, 1999 09:23:56 am" To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Date: Wed, 7 Jul 1999 09:29:24 -0700 (PDT) Cc: peter@FreeBSD.org (Peter Wemm), 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. Ohh.. and for an example of what does not exist in an ifconfig -l that gets created later during a /etc/start_if.X you would need something like ETInc's network cards. eth0 will exist during boot, but eth16 won't until you load the frame layer and map a dlci. If you at your site want this idea it is a simple matter of setting network_interfaces=`ifconfig -l` in /etc/rc.conf, but please don't implement your policy in a way that breaks others operational 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