Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2007 23:08:02 +0200
From:      Fredrik Lindberg <fli@FreeBSD.org>
To:        Andrew Thompson <thompsa@freebsd.org>,  freebsd-current@freebsd.org
Subject:   Re: Network interface modules keeps re-loading
Message-ID:  <46462CB2.9050008@FreeBSD.org>
In-Reply-To: <20070512202004.GA71624@heff.fud.org.nz>
References:  <4645E8A2.1040408@FreeBSD.org> <20070512202004.GA71624@heff.fud.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Thompson wrote:
> 
> A similar solution to this was committed in rev1.129 of ifconfig.c but
> then backed out later as the module loading proved to be feature used by
> quite a few people. I think an example was being able to load and
> initialise an interface by just trying 'ifconfig foo0'.
> 
> I think a different way to solve this is to add a argument to ifconfig
> to suppress the module loading and then use it at the appropriate places
> in rc.
> 

Oh, I should have read the commit logs first, sorry about that.
Either way, I think something should be done about it. It certainly
annoyed me today before I could figure out what as going on.
When somebody issues a kldunload, they shouldn't get the module
re-loaded right away.

Clearly people want the current behavior (although I question it
myself), what would be an appropriate way to suppress loading?
ifconfig -n foo0, as in no-probe/load?

Fredrik





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