From owner-freebsd-stable@FreeBSD.ORG Mon Mar 19 14:47:31 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4A1E16A404 for ; Mon, 19 Mar 2007 14:47:31 +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 12BDD13C46E for ; Mon, 19 Mar 2007 14:47:30 +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 l2JFHhx0021703; Mon, 19 Mar 2007 15:17:44 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.13.4/8.12.9/Submit) id l2JFHhMc021701; Mon, 19 Mar 2007 15:17:43 GMT (envelope-from dunstan) Date: Mon, 19 Mar 2007 15:17:43 +0000 From: "Wojciech A. Koszek" To: Steven Hartland Message-ID: <20070319151742.GA21673@FreeBSD.czest.pl> References: <45FE8EF3.7030400@delphij.net> <028501c76a2b$3c496750$b3db87d4@multiplay.co.uk> <20070319142604.GA21454@FreeBSD.czest.pl> <02d101c76a33$7cf8e070$b3db87d4@multiplay.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <02d101c76a33$7cf8e070$b3db87d4@multiplay.co.uk> 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]); Mon, 19 Mar 2007 15:17:44 +0000 (UTC) Cc: LI Xin , freebsd-stable@freebsd.org, Pete French Subject: Re: Reverting to 6.2-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2007 14:47:31 -0000 On Mon, Mar 19, 2007 at 02:32:48PM -0000, Steven Hartland wrote: > ----- Original Message ----- > From: "Wojciech A. Koszek" > >I did some work in this area, as several system administrators I've met > >also seem to have problem with kernel configuration recovery. In my case > >I came with a method of obtaining a configuration of a running kernel > >via sysctl (kern.conftxt for now) and via config(8) form the kernel file. > > > >Hopefully this work will get more review soon. > > Does this take into account includes as I just tried INCLUDE_CONFIG_FILE > and its appears to be useless for configs which make use of include XXXX. > Yes, it does. You get full configuration file from sysctl(8) or from config -k , and config(8) is modified in a way, that lets you to use this file without additional trimming. -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/