From owner-freebsd-current@FreeBSD.ORG Sat May 12 21:08:05 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D93D416A400 for ; Sat, 12 May 2007 21:08:05 +0000 (UTC) (envelope-from fli@FreeBSD.org) Received: from mx1.h3q.net (mx1.h3q.net [212.37.5.30]) by mx1.freebsd.org (Postfix) with ESMTP id 9916D13C44B for ; Sat, 12 May 2007 21:08:05 +0000 (UTC) (envelope-from fli@FreeBSD.org) Received: from [192.168.1.100] (81-232-22-115-no50.tbcn.telia.com [81.232.22.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: fli@shapeshifter.se) by mx1.h3q.net (Postfix) with ESMTP id 9B07978C20; Sat, 12 May 2007 23:08:03 +0200 (CEST) Message-ID: <46462CB2.9050008@FreeBSD.org> Date: Sat, 12 May 2007 23:08:02 +0200 From: Fredrik Lindberg User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: Andrew Thompson , freebsd-current@freebsd.org References: <4645E8A2.1040408@FreeBSD.org> <20070512202004.GA71624@heff.fud.org.nz> In-Reply-To: <20070512202004.GA71624@heff.fud.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Network interface modules keeps re-loading X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2007 21:08:05 -0000 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