[Linux-disciples] 2.6.7 kernel

Adam Kessel adam at rosi-kessel.org
Mon Jun 21 16:12:03 EDT 2004


On Mon, 2004-06-21 at 16:06, Stephen R Laniel wrote:
> > But you should just build your own, like other real men.
> I'm just getting to this now. It's been a while since I've
> rebuilt the kernel, and I was going to ask you guys whether
> one could extract configuration information from a running
> kernel, rather than having to keep the config info from the
> kernel source laying around. Turns out that the IKCONFIG
> does just that.

Yeah, but it's also always in /boot/config-`uname -r`, as I said in my
last email.

> It also turns out that 'make xconfig' is much more
> user-friendly than I remember it being. Neat neat neat.

I prefer make menuconfig, but to each his own.  

Also note make oldconfig, which only prompts you for questions which are
new since the last config was made.

> /*
> Kernel .config support (IKCONFIG)
> 
> This option enables the complete Linux kernel ".config" file
> contents, information on compiler used to build the kernel,
> kernel running when this kernel was built and kernel version
> from Makefile to be saved in the kernel. It provides
> documentation of which kernel options are used in a running
> kernel or in an on-disk kernel. This information can be
> extracted from the kernel image file with the script
> scripts/extract-ikconfig and used as input to rebuild the
> current kernel or to build another kernel. It can also be
> extracted from a running kernel by reading /proc/config.gz
> and /proc/config_built_with, if enabled (below).
> /proc/config.gz will list the configuration that was used
> to build the kernel and /proc/config_built_with will list
> information on the compiler and host machine that was used
> to build the kernel.
> */
-- 
Adam Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040621/6133f09e/attachment.pgp


More information about the Linux-disciples mailing list