1 |
On 27/02/14 19:24, Dan Johansson wrote: |
2 |
> On 26.02.2014 22:24, Poison BL. wrote: |
3 |
>> On Wed, Feb 26, 2014 at 2:58 PM, Tanstaafl <tanstaafl@×××××××××××.org> wrote: |
4 |
>>> Hello all, |
5 |
>>> |
6 |
>>> This is for those of use who to choose to roll our kernels by hand... |
7 |
>>> |
8 |
>>> So, am I missing something? |
9 |
>>> |
10 |
>>> Given the most recent gentoo news item: |
11 |
>>> |
12 |
>>>> # eselect news read 10 |
13 |
>>>> 2014-02-25-udev-upgrade |
14 |
>>>> Title Upgrade to >=sys-fs/udev-210 |
15 |
>>>> Author Samuli Suominen <ssuominen@g.o> |
16 |
>>>> Posted 2014-02-25 |
17 |
>>>> Revision 1 |
18 |
>>>> |
19 |
>>>> The options CONFIG_FHANDLE and CONFIG_NET are now required in the kernel. |
20 |
>>> |
21 |
>>> Whenever kernel config options are provided like this, it would be nice if |
22 |
>>> time was taken to provide the path to where they are found. |
23 |
>>> |
24 |
>>> I had to find the first one (CONFIG_FHANDLE) by: |
25 |
>>> |
26 |
>>> 1. grepping .config, seeing it wasn't enabled, |
27 |
>>> 2. running make menuconfig and searching for 'FHANDLE', |
28 |
>>> 3. seeing it is located in 'General setup', |
29 |
>>> 4. scouring the General setup options, finding no 'FHANLDE' anywhere, |
30 |
>>> 5. finding something in all lowercase named 'open by fhanlde syscalls', |
31 |
>>> 6. enabling this option, saving the modified config, |
32 |
>>> 7. confirming it is now enabled by grepping .config again |
33 |
>>> |
34 |
>>> Sheesh. Really? |
35 |
>>> |
36 |
>>> Would be nice if the news item had something like |
37 |
>>> CONFIG_FHANDLE (General setup > 'open by fhandle syscalls') |
38 |
>>> and |
39 |
>>> CONFIG_NET (still don't know which one this is??) |
40 |
>>> |
41 |
>>> Wackadoo... |
42 |
>>> |
43 |
>> When I search FHANDLE in menuconfig I get: |
44 |
>> |
45 |
>> │ Symbol: FHANDLE [=y] |
46 |
>> │ Type : boolean |
47 |
>> │ Prompt: open by fhandle syscalls |
48 |
>> │ Location: |
49 |
>> │ (1) -> General setup |
50 |
>> │ Defined at init/Kconfig:235 |
51 |
>> │ Selects: EXPORTFS [=y] |
52 |
>> │ Selected by: GENTOO_LINUX_INIT_SYSTEMD [=y] && GENTOO_LINUX [=y] |
53 |
>> && GENTOO_LINUX_UDEV [=y] |
54 |
>> |
55 |
>> This clearly states that the prompt you're looking for is a line that |
56 |
>> says "open by fhandle syscalls" under "General setup" |
57 |
>> |
58 |
>> Sure, it's not the absolute simplest interface (i.e. it doesn't give a |
59 |
>> 'enable this' in the search results) but it does give all the |
60 |
>> necessary information about a given option to find it (as well as |
61 |
>> dependencies and their current states, etc). The most likely reason |
62 |
>> the news item doesn't list the specific "prompt" text (or even the |
63 |
>> category) is that, across even sub release versions of the kernel |
64 |
>> those are prone to change (and, at times, drastically) while the |
65 |
>> actual CONFIG_<name> option tends to be fairly static through time |
66 |
>> once it exists (even when superseded by new toys, i.e. older |
67 |
>> IDE/ATA/ATAPI options vs newer PATA options). |
68 |
> But if you press "1" in the example above you will "jump" directly to |
69 |
> the menu item. Clue --> (1) |
70 |
> |
71 |
> Regards, |
72 |
|
73 |
Seriously, I've known / for years and have had no issues finding anything |
74 |
myself, but this small information is still news to me. |
75 |
Nice one. |
76 |
|
77 |
- Samuli |