From owner-freebsd-questions Sun Oct 20 09:46:41 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA00485 for questions-outgoing; Sun, 20 Oct 1996 09:46:41 -0700 (PDT) Received: from ms1.hinet.net (donny@ms1.hinet.net [168.95.4.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA00473 for ; Sun, 20 Oct 1996 09:46:38 -0700 (PDT) Received: (from donny@localhost) by ms1.hinet.net (8.7.5/8.7.5) id AAA12709; Mon, 21 Oct 1996 00:43:19 +0800 (CST) Message-Id: <199610201643.AAA12709@ms1.hinet.net> From: donny@ms1.hinet.net (Donny Lee) To: Nadav Eiron Cc: Donny Lee , questions@freebsd.org Subject: Re: Rebuilding a new kernel. What I should take care? Date: Mon, 21 Oct 1996 00:31:55 -0400 Lines: 27 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk -=*> Nadav Eiron wrote: >> 1) Should I comment out those devices or options I don't need in >> MY_KERNEL config file? > Basicly, the answer is yes. Note, however, that you need to be sure of > what you need and what not. Read through LINT (and Installing and Running > FreeBSD if you have that). Some devices (for example ether, loop, npx) > should *not* be removed. Removing things you don't need will make your > kernel smaller. Yes, I'll only remove those hard ware brands specified devices, like ahaX for Adaptec cards, btX for Buslogics, and so on. >> 2) What's good and bad if, for example, I comment out those >> scsi devices except the one fits my scsi card? > Good: The kernel will be smaller and it will not probe for devices you > don't have (though you can get that effect by just disabling the probe on > the devices). This means that you'll have more memory free for useful > stuff, and the machine will boot faster (device probes are very > time-consuming). Key point. > Ugly: When you have to shoot - shoot, don't talk :-) Ha... quite true. :) // Donny