Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to browse kernel config?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
capkin
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2005
Posts: 90

PostPosted: Wed Sep 07, 2005 5:00 am    Post subject: how to browse kernel config? Reply with quote

I would like browse through my kernel configuration but I do not want to built the kernel. What is the best way?
Back to top
View user's profile Send private message
StonedZealot
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2003
Posts: 90
Location: Rolla, Missouri

PostPosted: Wed Sep 07, 2005 5:17 am    Post subject: Reply with quote

You should be able to just move to /usr/src/linux and type "make menuconfig" and it should open up your current configuration to look through...
_________________
Bored and posting on the forums... life is rough.
Back to top
View user's profile Send private message
ekutay
l33t
l33t


Joined: 30 Mar 2005
Posts: 636
Location: Berlin

PostPosted: Wed Sep 07, 2005 5:20 am    Post subject: Reply with quote

In the end you must not save any settings you have made within menuconfig. You can also inspect the file /usr/src/linux/.config. There are also some other options like make xconfig, which I never use.
_________________
-- erol
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Wed Sep 07, 2005 5:30 am    Post subject: Reply with quote

Nex time you rebuild your kernel, enable the following under make menuconfig :
Code:
    General Setup --->
                [*] Kernel .config support
                [*]   Enable access to .config through /proc/config.gz

This will allow you to reliable access ther .config of the currently running kernel, e.g. :
Code:
zcat /proc/config.gz > /some/path/.config

Code:
zgrep -i "something" /proc/config.gz

_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum