kernel compilation options...
hey there...
is there a way to see with what options has my kernel been compiled? you know, a command like -uname or so... i'm trying to dig kernel module stuff, and parameters like enabled modules or modversioning, i don't know if my kernel supports all that! i understand that each of these features i just could test to see whether it's on or off, still i would really appreciate something more centralized. thx in advance! dave. |
Would the config file in /boot help you?
|
There is an option in the kernel configuration to embed the original config options into it so they can be extracted later on, but I don't know if distros are enabling that or not.
There should be a "config" file under /boot though, which will correspond to the various kernel images that are also living there. The config files are plain-text, and you can easily grep/search them to see what was enabled. |
The config of the current kernel may be in /proc/config.gz, use zgrep to retrieve the options.
|
There's a vary similar thread on LQ where /proc/config is recommended as well. However, apparently this option (to create /proc/config.gz) is not enabled by default in many kernels so there isn't /proc/config(.gz) on many system (including mine)
|
thx everyone!
got what i wanted! |
All times are GMT -5. The time now is 10:14 PM. |