Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 20:44:46 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        brooks@freebsd.org
Cc:        dougb@freebsd.org, freebsd-rc@freebsd.org
Subject:   Re: Removal of deprecation for network_interfaces != AUTO
Message-ID:  <20090625.204446.1736499898.imp@bsdimp.com>
In-Reply-To: <20090626023526.GA45597@lor.one-eyed-alien.net>
References:  <20090625225027.GB45036@lor.one-eyed-alien.net> <4A440CD1.4080904@FreeBSD.org> <20090626023526.GA45597@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20090626023526.GA45597@lor.one-eyed-alien.net>
            Brooks Davis <brooks@freebsd.org> writes:
: > 2. Auto-loading of kernel modules related to the list of interfaces to
: > configure
: 
: I continue to believe this "feature" is a mistake.

We've been slowly breaking this feature over the years.  It used to be
that all I needed to do was "dhclient rl0" to load if_rl.ko and run
dhclient on it and only if I didn't have a rl in my box would it
complain.  For a while, other kinds of interfaces were busted due to
some dubious simplifications that were made in ifconfig.

It was added, btw, to have parity with mount, since you could say
"mount -t msdos <etc>" and have it work, even if you forgot to kldload
msdos.ko...

It is more DWIMy than most Unix things, but there's so many things
that Unix has done since the halcyon days of its youth that it is hard
to hold this little bit of dwimness against ifconfig :)

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090625.204446.1736499898.imp>