From owner-freebsd-questions@FreeBSD.ORG Fri Feb 4 17:55:01 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93CEB16A4CE for ; Fri, 4 Feb 2005 17:55:01 +0000 (GMT) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5427043D41 for ; Fri, 4 Feb 2005 17:55:01 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 29990 invoked from network); 4 Feb 2005 17:55:01 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Feb 2005 17:55:00 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 6A71483; Fri, 4 Feb 2005 12:55:00 -0500 (EST) Sender: lowell@be-well.ilk.org To: "Colin J. Raven" To: freebsd-questions@freebsd.org References: <20050204151533.H34933@kenmore.kozy-kabin.nl> From: Lowell Gilbert Date: 04 Feb 2005 12:55:00 -0500 In-Reply-To: <20050204151533.H34933@kenmore.kozy-kabin.nl> Message-ID: <44brb0xlaj.fsf@be-well.ilk.org> Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: make.conf syntax question (MODULES_OERRRIDE) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 17:55:01 -0000 "Colin J. Raven" writes: > I'm considering *not* loading unecessary modules in a new kernel, so I > need to ask what seems like some dumb questions. > > In the kernel config file (MYKERNEL in this case) does commenting out > stuff there stop some modules from loading? So for example if I comment > out SCSI support are the relevant modules for that built, or not built > when compiling the new kernel? It seems that the logical answer is > "they're not built if you comment them out" yet I have no way of knowing > if that instinct call is right or not. By default, all of the modules are built whether you use them or not. That has nothing to do with the kernel config file; if you compile an option directly into the kernel, you don't need to load a module in order to use that functionality. > The second question concerns the make.conf MODULES_OVERRIDE option > syntax. Is the syntax: Don't bother with that option at all; your belief that you need it is based on your incorrect understanding of what modules (as opposed to kernel definitions) do. Other than a little bit extra build time, there's rarely any reason for an ordinary user to *not* build all of the modules every time.