Date: Wed, 7 Jul 1999 09:29:24 -0700 (PDT) From: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Cc: peter@FreeBSD.org (Peter Wemm), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc.network src/etc/defaults rc.conf Message-ID: <199907071629.JAA38447@gndrsh.aac.dev.com> In-Reply-To: <199907071623.JAA38429@gndrsh.aac.dev.com> from "Rodney W. Grimes" at "Jul 7, 1999 09:23:56 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907071629.JAA38447>