From owner-freebsd-current Mon Aug 4 02:53:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA24612 for current-outgoing; Mon, 4 Aug 1997 02:53:25 -0700 (PDT) Received: from firewall.ftf.dk (root@[129.142.64.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA24607 for ; Mon, 4 Aug 1997 02:53:21 -0700 (PDT) Received: from mail.prosa.dk ([192.168.100.2]) by firewall.ftf.dk (8.7.6/8.7.3) with ESMTP id MAA17127; Mon, 4 Aug 1997 12:18:24 +0200 Received: from deepo.prosa.dk (deepo.prosa.dk [192.168.100.10]) by mail.prosa.dk (8.8.5/8.8.5/prosa-1.1) with ESMTP id LAA00435; Mon, 4 Aug 1997 11:52:40 +0200 (CEST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.5/8.8.5/prosa-1.1) id LAA00906; Mon, 4 Aug 1997 11:52:19 +0200 (CEST) Message-ID: <19970804115219.19743@deepo.prosa.dk> Date: Mon, 4 Aug 1997 11:52:19 +0200 From: Philippe Regnauld To: Alex Cc: freebsd-current@freebsd.org Subject: Re: Kernel configuration script References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: Main Body X-Mailer: Mutt 0.69 In-Reply-To: ; from Alex on Mon, Aug 04, 1997 at 12:20:21AM -0700 X-Operating-System: FreeBSD 2.2.1-RELEASE i386 Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Alex writes: > Well, since I've seen nobody else make one, or publish one, etc, etc. I > spent a few hours, and created a trio of kludgy bash (not sh) scripts to > make configuring kernels a bit easier for the average newbie. If anyone > would like to give them a try, I'll tar,gz em and email em out. Otherwise > I'll post em in my web space when I feel they're fairly useable. I'll take a look. But let's say right away that such a tool would need three things (Terry is gonna love this :-) : - UI independent code, meaning you could have this as a batch processor, command-line or pseudo-UI interaction (i.e.: dialog). - dependency check to see what's available relative to the system we're runnning -- we don't want to have to customize the script every time, and it should still be able to offer SMP on 3.0, but not on 2.2.x. Device-dependent have to be treated as such (don't want AHC_SCB_PAGING to be selectable when one uses ncr0, or PCI devices on ISA machine :-) - some mechanism for reading and parsing pre-written configuration files -- accepting files like /sys/i386/conf/GENERIC is obvious, but I'm talking at something capable of reading "skeleton" pieces, and filling in the blanks -- for instance: include net-subsystem-defs include disk-subsystem-defs figure out cpu for yourself, etc... -- -- Phil -[ Philippe Regnauld / Systems Administrator / regnauld@prosa.dk ]- -[ Location.: +55.4N +11.3E PGP Key: finger regnauld@hotel.prosa.dk ]-