Gentoo Archives: gentoo-user

From: thegeezer <thegeezer@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Peeve - finding kernel config options
Date: Thu, 27 Feb 2014 11:00:44
Message-Id: 530F1ACA.30807@thegeezer.net
In Reply to: Re: [gentoo-user] Peeve - finding kernel config options by Alan McKinnon
1 On 02/27/2014 06:04 AM, Alan McKinnon wrote:
2 > On 26/02/2014 21:58, Tanstaafl wrote:
3 >> Hello all,
4 >>
5 >> This is for those of use who to choose to roll our kernels by hand...
6 >>
7 >> So, am I missing something?
8 >>
9 >> Given the most recent gentoo news item:
10 >>
11 >>> # eselect news read 10
12 >>> 2014-02-25-udev-upgrade
13 >>> Title Upgrade to >=sys-fs/udev-210
14 >>> Author Samuli Suominen <ssuominen@g.o>
15 >>> Posted 2014-02-25
16 >>> Revision 1
17 >>>
18 >>> The options CONFIG_FHANDLE and CONFIG_NET are now required in the kernel.
19 >> Whenever kernel config options are provided like this, it would be nice
20 >> if time was taken to provide the path to where they are found.
21 >
22 > make menuconfig
23 > press "/"
24 > type CONFIG_FHANDLE
25 > press enter
26 > profit!!!
27 >
28 > [Note the lack of ??? in the list]
29 >
30 > works like searching in vi or less
31 >
32 >
33 >
34 >
35 >> I had to find the first one (CONFIG_FHANDLE) by:
36 >>
37 >> 1. grepping .config, seeing it wasn't enabled,
38 >> 2. running make menuconfig and searching for 'FHANDLE',
39 >> 3. seeing it is located in 'General setup',
40 >> 4. scouring the General setup options, finding no 'FHANLDE' anywhere,
41 >> 5. finding something in all lowercase named 'open by fhanlde syscalls',
42 >> 6. enabling this option, saving the modified config,
43 >> 7. confirming it is now enabled by grepping .config again
44 >>
45 >> Sheesh. Really?
46 >>
47 >> Would be nice if the news item had something like
48 >> CONFIG_FHANDLE (General setup > 'open by fhandle syscalls')
49 >> and
50 >> CONFIG_NET (still don't know which one this is??)
51 >>
52 >> Wackadoo...
53 >>
54 >>
55 >>
56 >
57 If you have ncurses you can also do # make nconfig
58 you can then press F8 to find the category to be in
59 then you can press / to search -- crucially it will jump to the location
60 on the screen