[Ilugc] Creating a .config file from a running kernel

  • From: lug@xxxxxxxxxxxxxxxxxx (Chandrashekar Babu)
  • Date: Tue Sep 21 11:06:07 2004

I think that 2.6 series of kernels have a feature that makes it possible to 
create a .config file from a running kernel. Anybody knows how to do this?

If you did "Enable access to .config through /proc/config.gz" in "General 
Setup" (at the 'make menuconfig', or CONFIG_IKCONFIG=y, CONFIG_IKCONFIG_PROC=y 
in your .config file) while compiling your 2.6 kernel, you can access your 
.config file of a running kernel by simply copying /proc/config.gz to a 
different directory and 'gunzip'-ing the same. 

Cheers,
Chandrashekar Babu.

Other related posts: