From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1B684138F88 for ; Thu, 27 Feb 2014 20:02:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89239E0BB7; Thu, 27 Feb 2014 20:02:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64C35E0BAD for ; Thu, 27 Feb 2014 20:02:37 +0000 (UTC) Received: from [10.190.2.204] (85-76-174-73-nat.elisa-mobile.fi [85.76.174.73]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ssuominen) by smtp.gentoo.org (Postfix) with ESMTPSA id 3692433FB54 for ; Thu, 27 Feb 2014 20:02:35 +0000 (UTC) Message-ID: <530F9939.4080904@gentoo.org> Date: Thu, 27 Feb 2014 21:59:53 +0200 From: Samuli Suominen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Peeve - finding kernel config options References: <530E4774.4070907@libertytrek.org> <530F74E2.7050401@dmj.nu> <530F96AD.1010600@gentoo.org> In-Reply-To: <530F96AD.1010600@gentoo.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: bf30b34b-34aa-4a00-b043-6913d1879fdc X-Archives-Hash: 98f5dcb1bcd2c8e5aa829024634cc79c On 27/02/14 21:49, Samuli Suominen wrote: > On 27/02/14 19:24, Dan Johansson wrote: >> On 26.02.2014 22:24, Poison BL. wrote: >>> On Wed, Feb 26, 2014 at 2:58 PM, Tanstaafl wrote: >>>> Hello all, >>>> >>>> This is for those of use who to choose to roll our kernels by hand... >>>> >>>> So, am I missing something? >>>> >>>> Given the most recent gentoo news item: >>>> >>>>> # eselect news read 10 >>>>> 2014-02-25-udev-upgrade >>>>> Title Upgrade to >=sys-fs/udev-210 >>>>> Author Samuli Suominen >>>>> Posted 2014-02-25 >>>>> Revision 1 >>>>> >>>>> The options CONFIG_FHANDLE and CONFIG_NET are now required in the kernel. >>>> Whenever kernel config options are provided like this, it would be nice if >>>> time was taken to provide the path to where they are found. >>>> >>>> I had to find the first one (CONFIG_FHANDLE) by: >>>> >>>> 1. grepping .config, seeing it wasn't enabled, >>>> 2. running make menuconfig and searching for 'FHANDLE', >>>> 3. seeing it is located in 'General setup', >>>> 4. scouring the General setup options, finding no 'FHANLDE' anywhere, >>>> 5. finding something in all lowercase named 'open by fhanlde syscalls', >>>> 6. enabling this option, saving the modified config, >>>> 7. confirming it is now enabled by grepping .config again >>>> >>>> Sheesh. Really? >>>> >>>> Would be nice if the news item had something like >>>> CONFIG_FHANDLE (General setup > 'open by fhandle syscalls') >>>> and >>>> CONFIG_NET (still don't know which one this is??) >>>> >>>> Wackadoo... >>>> >>> When I search FHANDLE in menuconfig I get: >>> >>> │ Symbol: FHANDLE [=y] >>> │ Type : boolean >>> │ Prompt: open by fhandle syscalls >>> │ Location: >>> │ (1) -> General setup >>> │ Defined at init/Kconfig:235 >>> │ Selects: EXPORTFS [=y] >>> │ Selected by: GENTOO_LINUX_INIT_SYSTEMD [=y] && GENTOO_LINUX [=y] >>> && GENTOO_LINUX_UDEV [=y] >>> >>> This clearly states that the prompt you're looking for is a line that >>> says "open by fhandle syscalls" under "General setup" >>> >>> Sure, it's not the absolute simplest interface (i.e. it doesn't give a >>> 'enable this' in the search results) but it does give all the >>> necessary information about a given option to find it (as well as >>> dependencies and their current states, etc). The most likely reason >>> the news item doesn't list the specific "prompt" text (or even the >>> category) is that, across even sub release versions of the kernel >>> those are prone to change (and, at times, drastically) while the >>> actual CONFIG_ option tends to be fairly static through time >>> once it exists (even when superseded by new toys, i.e. older >>> IDE/ATA/ATAPI options vs newer PATA options). >> But if you press "1" in the example above you will "jump" directly to >> the menu item. Clue --> (1) >> >> Regards, > Seriously, I've known / for years and have had no issues finding anything > myself, but this small information is still news to me. > Nice one. > > - Samuli > Someone just pointed out to me at IRC this was introduced only at Linux >= 3.8'ish (he wasn't entirely sure) So, it's relatively new, I suppose that'd explain it