Date: Mon, 19 Mar 2007 15:17:43 +0000 From: "Wojciech A. Koszek" <wkoszek@freebsd.org> To: Steven Hartland <killing@multiplay.co.uk> Cc: LI Xin <delphij@delphij.net>, freebsd-stable@freebsd.org, Pete French <petefrench@ticketswitch.com> Subject: Re: Reverting to 6.2-RELEASE Message-ID: <20070319151742.GA21673@FreeBSD.czest.pl> In-Reply-To: <02d101c76a33$7cf8e070$b3db87d4@multiplay.co.uk> References: <E1HTGt3-000F0K-9m@dilbert.ticketswitch.com> <45FE8EF3.7030400@delphij.net> <028501c76a2b$3c496750$b3db87d4@multiplay.co.uk> <20070319142604.GA21454@FreeBSD.czest.pl> <02d101c76a33$7cf8e070$b3db87d4@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 19, 2007 at 02:32:48PM -0000, Steven Hartland wrote: > ----- Original Message ----- > From: "Wojciech A. Koszek" <wkoszek@freebsd.org> > >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 <kernel>, 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070319151742.GA21673>