From owner-freebsd-current@FreeBSD.ORG Sat Mar 24 14:32:01 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7173616A403 for ; Sat, 24 Mar 2007 14:32:01 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2D31913C4B9 for ; Sat, 24 Mar 2007 14:32:00 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 90E3C47160; Sat, 24 Mar 2007 09:32:00 -0500 (EST) Date: Sat, 24 Mar 2007 15:32:00 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Wojciech A. Koszek" In-Reply-To: <20070324135333.GA86105@FreeBSD.czest.pl> Message-ID: <20070324153108.P4956@fledge.watson.org> References: <20070324113739.GA41119@ravenloft.kiev.ua> <20070324135333.GA86105@FreeBSD.czest.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, Alex Kozlov Subject: Re: Improved INCLUDE_CONFIG_FILE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2007 14:32:01 -0000 On Sat, 24 Mar 2007, Wojciech A. Koszek wrote: > On Sat, Mar 24, 2007 at 01:37:39PM +0200, Alex Kozlov wrote: >> On Mon, Mar 19, 2007 at 03:19:49PM +0000, Wojciech A. Koszek wrote: >>> Current implementation of INCLUDE_CONFIG_FILE option has number of issues. >>> Including it in MAC or SMP configurations will bring only text of this >>> single file into the kernel file. We're not able to see configuration of >>> running ("live") kernel, which could be helpful while tracking users' >>> reports. You can't get easy to use file format, ready for configuration >>> process. >>> >>> In my Perforce wkoszek_kconftxt branch: >>> >>> //depot/user/wkoszek/wkoszek_kconftxt/... >>> >>> I brought some modifications to existing config(8) and added system >>> interface that would let us to see configuration of running kernel >>> (currently -- via kern.conftxt sysctl), as well as other kernel file >>> through config(8)'s -k option. >> >> By the way, any plan to include INCLUDE_CONFIG_FILE in GENERIC? > > I'd like to have this enabled by default, and I know there should be no > strong objections. I agree -- the memory used by it is very small compared to the amount of memory in modern systems, and the potential administrative benefit is very large. As long as it remains an option, the embedded folk can turn it off easily. Robert N M Watson Computer Laboratory University of Cambridge