Getting the Linux Kernel Config from a Running System
If you need to get the configuration of a running Linux kernel, have a look at:
/proc/config.gz
You might use that like this:
zcat /proc/config.gz > /usr/src/linux/.config
If /proc/config.gz isn't there (ie the kernel was compiled without CONFIG_IKCONFIG_PROC) have a look at:
/usr/src/linux/scripts/extract-ikconfig
Tags
Linux Kernel Config CONFIG_IKCONFIG_PROCTrackbacks
To send a trackback, use the URL of this story appending ?page=tb at the end.Comments (0)
Leave a Comment
To create links in comments:
[link:http://anders.com/] becomes http://anders.com/
[link:http://anders.com/|Anders.com] becomes Anders.com
Notice there is no rel="nofollow" in these hrefs. Links in comments will carry page rank from this site so only link to things worthy of people's attention.



