From owner-freebsd-stable Fri Jun 15 7:51:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from diarmadhi.mushhaven.net (diarmadhi.mushhaven.net [209.16.107.11]) by hub.freebsd.org (Postfix) with ESMTP id 321DB37B405 for ; Fri, 15 Jun 2001 07:51:08 -0700 (PDT) (envelope-from mistwolf@diarmadhi.mushhaven.net) Received: (from mistwolf@localhost) by diarmadhi.mushhaven.net (8.11.4/8.11.4) id f5FEpAP94246; Fri, 15 Jun 2001 10:51:10 -0400 (EDT) (envelope-from mistwolf) Date: Fri, 15 Jun 2001 10:51:10 -0400 From: Jamie Norwood To: "Brandon D. Valentine" Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Kernel compilation Message-ID: <20010615105110.A94222@mushhaven.net> References: <20010615103820.A94093@mushhaven.net> <20010615104157.S84422-100000@turtle.looksharp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010615104157.S84422-100000@turtle.looksharp.net>; from bandix@looksharp.net on Fri, Jun 15, 2001 at 10:46:04AM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 15, 2001 at 10:46:04AM -0400, Brandon D. Valentine wrote: > Your logic is a little flawed. Those modules are simply built and > placed in /modules for future use. They are not by any means built into > the kernel and they don't slow the kernel down any. They also are not a > security hazard. If you don't insert the module, it is not running. > They don't insert themselves into the kernel. I find this to be untrue. For instance, my kernel config does not have entries for USB. Yet when the machine last booted, it very definately loaded USB drivers and probed those ports. (I can't quote dmesg due to stupid arp messages that there is nothing I can do about.) > > >Any suggestions? > > Yeah, check out the /etc/make.conf and /etc/defaults/make.conf files. > Setting NO_MODULES = true in the /etc/make.conf file will make sure that > the modules are not built at all, either will world or kernel. There > are other MODULES related options to check out as well. However, > remember that many things like linux emulation are normally used as > kernel modules under FreeBSD and if you don't explicitly build them into > your monolithic kernel you won't be able to use them. Also remember if > you're gonna turn off module building that you remove the /modules > directory so you don't end up accidentally using old modules with your > new monolithic kernel. This is the performance I want. What this machine needs it's in it's config file. It is a static machine that does not arbitrarily need things loaded/ unloaded. Thank you for the pointer. Jamie > > -- > Brandon D. Valentine > > The very powerful and the very stupid have one thing in common. Instead > of altering their views to fit the facts, they alter the facts to fit > their views ... which can be very uncomfortable if you happen to be one > of the facts that needs altering. > - Doctor Who, "Face of Evil" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message