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

  • From: siva@xxxxxxxxxxx (Sivasankar Chander)
  • Date: Tue Sep 21 11:01:33 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?

  I think it needs to be compiled in; with this option, the .config shows
up somewhere on /proc (possibly /proc/config). I haven't looked at what the
entries look like. It's a pretty neat idea, but brings a whole can of worms
with it - a lot of userland programs are going to be written that adapt
dynamically at runtime to kernel options, increasing the difficulty of
validation, debugging, version control ... (maybe I'm wrong).

-Siva

Other related posts: