Find out the current kernel config settings?
If I'm on a linux system (Any linux e.g. Fedora, SLES, Ubuntu)
Can I find out the current kernel config settings? How do I do this? Is there a .config file that stores these? |
Have a look in the /boot directory. Look for a file with config in its name.
Examples: - on a Debian 6 box: config-2.6.32-5-amd64 - on a rhel 6 box: config-2.6.32-220.el6.x86_64 |
Alternatively, you can on most kernels find the current config as a compressed file at /proc/config.gz.
|
@TobiSGD: The option to do this (CONFIG_IKCONFIG) isn't enabled by default.
Debian (6+7) and RHEL (5+6) don't make use of this out-of-the-box. |
I was able to do this:
zcat /proc/config.gz >my_config and then look at the config file. Thanks :) |
All times are GMT -5. The time now is 11:02 PM. |