Wojciech A. Koszek wrote: > On Mon, Mar 19, 2007 at 01:33:44PM -0000, Steven Hartland wrote: >> I think this is a very good idea, I've been caught at least once >> not being able to recreate a working kernel due to the loss of >> the original config file. >> >> Steve >> >> ----- Original Message ----- >> From: "LI Xin" <[EMAIL PROTECTED]> >> >> I always use options INCLUDE_CONFIG_FILE for my kernel :-) Maybe we >> should add it to DEFAULTS some day... > > 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.
Not sure how useful could it be to expose it via sysctl(8) interface but sounds interesting to me. Have you posted the patch somewhere? Cheers, -- Xin LI <[EMAIL PROTECTED]> http://www.delphij.net/ FreeBSD - The Power to Serve!
signature.asc
Description: OpenPGP digital signature