From owner-freebsd-stable@FreeBSD.ORG Sun Jan 23 17:34:27 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5ACC216A4E7 for ; Sun, 23 Jan 2005 17:34:27 +0000 (GMT) Received: from mx1.highperformance.net (ip30.gte215.dsl-acs2.sea.iinet.com [209.20.215.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBCCE43D55 for ; Sun, 23 Jan 2005 17:34:26 +0000 (GMT) (envelope-from jcw@highperformance.net) Received: from [192.168.1.16] (w16.stradamotorsports.com [192.168.1.16]) j0NHXnH1032881; Sun, 23 Jan 2005 09:33:59 -0800 (PST) (envelope-from jcw@highperformance.net) Date: Sun, 23 Jan 2005 09:33:49 -0800 From: "Jason C. Wells" To: Matt Herzog , freebsd-stable@freebsd.org Message-ID: <6F709B5731DBCBF01573E733@[192.168.1.16]> In-Reply-To: <20050123122220.GF253@acheron.in.hades> References: <20050123122220.GF253@acheron.in.hades> X-Mailer: Mulberry/3.1.5 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Status: No, score=-5.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on s4.stradamotorsports.com Subject: Re: loader.conf examples X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2005 17:34:27 -0000 --On Sunday, January 23, 2005 7:22 AM -0500 Matt Herzog wrote: > I'm confused about how and why modules are built and (seemingly > loaded without my having specified any to load) when I have not > told my kernel conf file to build anything as a module. As a former > NetBSD user, I had expected a monolitic kernel . . . You can still run a monolithic kernel as I do. You can also use NO_MODULES as a make option to prevent the build and installation of modules. See also MODULES_OVERRIDE is /sys/conf/NOTES. If you never specified a module to load, then no modules should be loaded. (Ref kldstat) Maybe the default behavior has changed. I wouldn't know though since I don't use the default behavior. There are two ways to build a kernel. There is 'make buildkernel' and there is 'config KERNEL; make depend; make' Take care which options apply to which method. Later, Jason C. Wells