From owner-freebsd-current@FreeBSD.ORG Mon Mar 26 14:16:00 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 1C2B816A413; Mon, 26 Mar 2007 14:16:00 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 4E9FC13C4C9; Mon, 26 Mar 2007 14:15:58 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (sjivid@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l2QDl6Fp021067; Mon, 26 Mar 2007 15:47:12 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l2QDl6rM021066; Mon, 26 Mar 2007 15:47:06 +0200 (CEST) (envelope-from olli) Date: Mon, 26 Mar 2007 15:47:06 +0200 (CEST) Message-Id: <200703261347.l2QDl6rM021066@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, Alex Kozlov , wkoszek@FreeBSD.ORG In-Reply-To: <20070324135333.GA86105@FreeBSD.czest.pl> X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 26 Mar 2007 15:47:12 +0200 (CEST) X-Mailman-Approved-At: Mon, 26 Mar 2007 18:08:58 +0000 Cc: Subject: Re: Improved INCLUDE_CONFIG_FILE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@FreeBSD.ORG, Alex Kozlov , wkoszek@FreeBSD.ORG List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2007 14:16:00 -0000 Wojciech A. Koszek wrote: > Alex Kozlov wrote: > > 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. No objection from me, but please fix it so include files are also included in the kernel. Many of my kernel config files have only few lines (e.g. "options SMP" and "include MYKERNEL"). Currently, the INCLUDE_CONFIG_FILE feature only includes those two lines, rendering that feature useless (and even potentially dangerous if someone relies on his config to be in the kernel). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "File names are infinite in length, where infinity is set to 255 characters." -- Peter Collinson, "The Unix File System"