From owner-freebsd-questions@FreeBSD.ORG Fri Feb 4 18:18:51 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 D6A5816A4CE for ; Fri, 4 Feb 2005 18:18:51 +0000 (GMT) Received: from t-x.dignus.nl (t-x.dignus.nl [83.219.88.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49B4343D2D for ; Fri, 4 Feb 2005 18:18:51 +0000 (GMT) (envelope-from colin@kenmore.kozy-kabin.nl) Received: from localhost (localhost.dignus.nl [127.0.0.1]) by t-x.dignus.nl (Safehouse) with ESMTP id BE69028423; Fri, 4 Feb 2005 19:19:13 +0100 (CET) Received: from kenmore.kozy-kabin.nl (cjr-home [62.251.72.148]) by t-x.dignus.nl (Safehouse) with ESMTP id 0C4D628421; Fri, 4 Feb 2005 19:19:08 +0100 (CET) Received: from kenmore.kozy-kabin.nl (localhost.kozy-kabin.nl [127.0.0.1]) by kenmore.kozy-kabin.nl (Postfix) with ESMTP id 35C0C62CB; Fri, 4 Feb 2005 19:18:44 +0100 (CET) Received: from localhost (colin@localhost)j14IIhZm039746; Fri, 4 Feb 2005 19:18:43 +0100 (CET) (envelope-from colin@kenmore.kozy-kabin.nl) Date: Fri, 4 Feb 2005 19:18:43 +0100 From: "Colin J. Raven" To: Lowell Gilbert In-Reply-To: <44brb0xlaj.fsf@be-well.ilk.org> Message-ID: <20050204191259.F34933@kenmore.kozy-kabin.nl> References: <20050204151533.H34933@kenmore.kozy-kabin.nl> <44brb0xlaj.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by RemSPAMd at ph230.plushosting.nl cc: freebsd-questions@freebsd.org 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 18:18:51 -0000 On Feb 4 at 12:55, Lowell Gilbert launched this into the bitstream: > "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. Thank you! Undoubtedly you have saved me a considerable amount of time and apparently unecessary work. What I was (erroneously) trying to do was trim down the kernel to its absolute minimum size and maximum performance, my thought was if I don't need it, don't load it. I guess the logical question follows though....why build all those modules (500 and something if I recall correctly) if they're unused and not necessary? It seems counter intuitive somehow, but probably I'm not seeing the issue in its proper light. Many thanks for your advice and guidance. Regards, -Colin -- Colin J. Raven FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One Fri Feb 4 19:18:00 CET 2005 7:18PM up 15 days, 8:08, 6 users, load averages: 0.03, 0.01, 0.00