Date: Wed, 3 Jun 2009 09:09:18 -0500 From: Brooks Davis <brooks@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, Doug Barton <dougb@freebsd.org>, Bruce Simpson <bms@incunabulum.net>, svn-src-head@freebsd.org, Dag-Erling Sm??rgrav <des@des.no> Subject: Re: svn commit: r193199 - head/etc Message-ID: <20090603140918.GB28486@lor.one-eyed-alien.net> In-Reply-To: <200906030757.37937.jhb@freebsd.org> References: <200906010537.n515bDou065357@svn.freebsd.org> <200906021511.03955.jhb@freebsd.org> <86iqjdek9t.fsf@ds4.des.no> <200906030757.37937.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 03, 2009 at 07:57:37AM -0400, John Baldwin wrote: > On Wednesday 03 June 2009 5:31:10 am Dag-Erling Sm??rgrav wrote: > > John Baldwin <jhb@freebsd.org> writes: > > > [...] Given that, there really isn't a good reason to customize > > > network_interfaces anymore. > >=20 > > Listing e.g. bge0 in network_interfaces will (indirectly) cause if_bge > > to be loaded if it wasn't already. If network_interfaces is left blank, > > only interfaces that already have a driver attached to them will be > > configured. Ugh, I thought I'd killed that off. I'm solidly in the camp of people who think the autoloading is a mistake. If you're going to hardcode a list of module you want to load, /boot/loader.conf is the place, not this indirect hack that bites people on the ass because it works for real interfaces, but not all sorts of other types due to the impossibilty of generalizing support. For extra fun, making a typo on your ifconfig command line can lead to loading a random module. > That is a good argument. Someone noted it on -stable as well as somethin= g=20 > they use. Also, I wonder if ipv6_network_interfaces should actually defa= ult=20 > to whatever the value of 'network_interfaces' is so that if someone does = use=20 > a customized 'network_interfaces' line it affects IPv6 configuration as w= ell. =20 > (Maybe have it default to an empty value and have an empty value get repl= aced=20 > with 'network_interfaces'?). That's probably a good solution for ipv6_network_interfaces. -- Brooks --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFKJoQNXY6L6fI4GtQRAqyXAKCbigMpc2h0+fr6GMGxInCOta2+oACeOZhl xEAXHqKhqTD8IHMz/T5gF1E= =9A9Z -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090603140918.GB28486>