From owner-freebsd-questions Mon May 29 12: 9:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id B111137BC4E for ; Mon, 29 May 2000 12:09:28 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12wTOA-000PoV-00; Mon, 29 May 2000 18:31:42 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12wTOA-000PRH-00; Mon, 29 May 2000 18:31:42 +0100 Date: Mon, 29 May 2000 18:31:42 +0100 From: Ben Smithurst To: cjclark@home.com Cc: Michael Harnois , freebsd-questions@FreeBSD.ORG Subject: Re: why are all modules built? Message-ID: <20000529183142.A29735@strontium.scientia.demon.co.uk> References: <868zwtv0lu.fsf@mharnois.workgroup.net> <20000529124412.F58958@cc942873-a.ewndsr1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000529124412.F58958@cc942873-a.ewndsr1.nj.home.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Crist J. Clark wrote: > On Mon, May 29, 2000 at 10:26:37AM -0500, Michael Harnois wrote: >> Why does a kernel build build all modules whether they are going to be >> used or not? Or am I missing something? > > I don't believe a kernel build builds any modules. The kld(4)'s are > only built at a make-world, IIRC. Or is that not what you are talking > about? In -current at least modules are built as part of the kernel build. This is rather annoying on a 486 where a kernel build took long enough before, but it's probably better than booting the kernel and getting a panic because the modules are out of sync. As for why they're all built, rather than just the ones that will be used, I guess it's because FreeBSD doesn't have a telepathy module which can tell which modules the admin will kldload in advance. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message