From owner-freebsd-questions@FreeBSD.ORG Fri Mar 26 11:43:26 2004 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 4AD5B16A4CE for ; Fri, 26 Mar 2004 11:43:26 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE69443D41 for ; Fri, 26 Mar 2004 11:43:24 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i2QJhJQM028524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 26 Mar 2004 19:43:19 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i2QJhJ1u028523 for freebsd-questions@freebsd.org; Fri, 26 Mar 2004 19:43:19 GMT (envelope-from matthew) Date: Fri, 26 Mar 2004 19:43:19 +0000 From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <20040326194319.GA28352@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , freebsd-questions@freebsd.org References: <20040326183919.GB27638@happy-idiot-talk.infracaninophile.co.uk> <20040326190349.GB1948@cs025_2k> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <20040326190349.GB1948@cs025_2k> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040316, clamav-milter version 0.67l Subject: Re: Kernel configuration 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, 26 Mar 2004 19:43:26 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [ kernel modules ] On Fri, Mar 26, 2004 at 11:03:49AM -0800, Joshua Lokken wrote: > * Matthew Seaman [2004-03-26 10:56]: > > What you don't compile into your kernel (by eg. 'options NFSCLIENT') > > will generally be compiled as a loadable module instead -- here > > nfsclient.ko > I've wondered about this -- is that the significance of the=20 >=20 > NO_MODULES parameter in make.conf? IOW, if one was to specify > no_modules, would that build only the kernel modules that were > specified in the conf? If you put NO_MODULES=3Dtrue into /etc/make.conf, then you'll only get the kernel build. You won't get any extra loadable modules. Other than that, you can specify a list of modules to build if you don't want all of them: MODULES_OVERRIDE=3D linux ipfw Not sure what happens if you configure those options in the kernel config, and also add them to the 'MODULES_OVERRIDE' list. =20 There's also 'MODULES_WITH_WORLD=3Dtrue' which separates building kernel modules from building the rest of the kernel. This is solely for backwards compatability -- I can't think of any good reason to use this option otherwise. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAZIfXdtESqEQa7a0RAjltAKCJKspvs7AwPz9XPIzLRvMp6lwE/QCdHNTr Oy6FvWlbrC3AiYQBGhsFzTs= =zUTk -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--