From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 13 01:56:27 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FF2E16A4CE for ; Tue, 13 Apr 2004 01:56:27 -0700 (PDT) Received: from bps.jodocus.org (g157016.upc-g.chello.nl [80.57.157.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A17B643D49 for ; Tue, 13 Apr 2004 01:56:26 -0700 (PDT) (envelope-from joost@jodocus.org) Received: from jodocus.org (localhost [127.0.0.1]) by bps.jodocus.org (8.12.10/8.12.10) with ESMTP id i3D8uOhJ083269 for ; Tue, 13 Apr 2004 10:56:25 +0200 (CEST) (envelope-from joost@jodocus.org) Received: (from joost@localhost) by jodocus.org (8.12.10/8.12.10/Submit) id i3D8uOlU083268 for hackers@freebsd.org; Tue, 13 Apr 2004 10:56:24 +0200 (CEST) (envelope-from joost) Date: Tue, 13 Apr 2004 10:56:24 +0200 From: Joost Bekkers To: hackers@freebsd.org Message-ID: <20040413085624.GA82980@bps.jodocus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Tue, 13 Apr 2004 04:57:54 -0700 Subject: sanity checking for config(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 08:56:27 -0000 Hi I'm thinking of adding some basic kernel-config sanity checking to config(8) config would then complain about things like 'device da' without 'device scbus' and 'device gif' without 'options INET' and 'OPTIONS INET6' just to name a few. It would be really nice if the list of what a device depends on could be generated automaticly. Can any of you think of a way to do that? (aside from generating lots of config files and test if they make(1)) -- greetz Joost joost@jodocus.org