From owner-freebsd-questions Sat Jan 5 8:49: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by hub.freebsd.org (Postfix) with ESMTP id CF90E37B41C for ; Sat, 5 Jan 2002 08:49:01 -0800 (PST) Received: from lungfish.ntlworld.com ([62.253.152.22]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020105164858.ZDIH327.mta07-svc.ntlworld.com@lungfish.ntlworld.com>; Sat, 5 Jan 2002 16:48:58 +0000 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.3/8.11.3) with ESMTP id g05Gmun63021; Sat, 5 Jan 2002 16:48:57 GMT (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.11.6/8.11.6) id g05GlZS04563; Sat, 5 Jan 2002 16:47:35 GMT (envelope-from scott) Date: Sat, 5 Jan 2002 16:47:35 +0000 From: Scott Mitchell To: Joe & Fhe Barbish Cc: FBSD Questions Subject: Re: removeing sound card from kernel binary Message-ID: <20020105164735.A3601@localhost> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from barbish@a1poweruser.com on Sat, Jan 05, 2002 at 11:24:30AM -0500 X-Operating-System: FreeBSD 4.5-PRERELEASE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jan 05, 2002 at 11:24:30AM -0500, Joe & Fhe Barbish wrote: > I am building a stand-a-lone firewall box. > I have no need for sound card support. > > Is there a way to remove from the kernel to > make the kernel binary smaller? Build a custom kernel without any audio drivers in it? The GENERIC kernel config doesn't include any audio stuff anyway, so the customisation should be trivial :-) That said, there's probably a lot of other cruft you can strip out of GENERIC for this box, and you might want to have the firewall code compiled in rather than loaded from modules, so building a custom kernel is a good idea anyways. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message