From owner-freebsd-current@FreeBSD.ORG Sat Mar 24 23:02:38 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 1D77D16A402; Sat, 24 Mar 2007 23:02:38 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by mx1.freebsd.org (Postfix) with ESMTP id 95D9B13C45A; Sat, 24 Mar 2007 23:02:37 +0000 (UTC) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.13.4/8.12.9) with ESMTP id l2ONX9MO093920; Sat, 24 Mar 2007 23:33:09 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.13.4/8.12.9/Submit) id l2ONX8bF093919; Sat, 24 Mar 2007 23:33:08 GMT (envelope-from dunstan) Date: Sat, 24 Mar 2007 23:33:07 +0000 From: "Wojciech A. Koszek" To: Peter Jeremy Message-ID: <20070324233307.GA93841@FreeBSD.czest.pl> References: <20070324113739.GA41119@ravenloft.kiev.ua> <20070324135333.GA86105@FreeBSD.czest.pl> <20070324153108.P4956@fledge.watson.org> <20070324220041.GI847@turion.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20070324220041.GI847@turion.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (freebsd.czest.pl [80.48.250.4]); Sat, 24 Mar 2007 23:33:09 +0000 (UTC) Cc: Alex Kozlov , freebsd-current@freebsd.org, Robert Watson 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 23:02:38 -0000 On Sun, Mar 25, 2007 at 08:00:41AM +1000, Peter Jeremy wrote: > On 2007-Mar-24 15:32:00 +0100, Robert Watson wrote: > >On Sat, 24 Mar 2007, Wojciech A. Koszek wrote: > >>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. > Ideally, we would include it in a .comment section that wasn't loaded. > Unfortunately my ELF-foo isn't up to this (I've tried something similar > many years ago and couldn't get the linker to DWIW). In my current implementation, kernel configuration content is converted to the string and is actually put into separate ELF section. However, it's not .comment but a loadable section, since otherwise you wouldn't be able to obtain the configuration of a running system. -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/