From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964804AbXDATtx (ORCPT ); Sun, 1 Apr 2007 15:49:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752060AbXDATtx (ORCPT ); Sun, 1 Apr 2007 15:49:53 -0400 Received: from tmailer.gwdg.de ([134.76.10.23]:48155 "EHLO tmailer.gwdg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751833AbXDATtv (ORCPT ); Sun, 1 Apr 2007 15:49:51 -0400 Date: Sun, 1 Apr 2007 21:47:18 +0200 (MEST) From: Jan Engelhardt To: Kyle Moffett cc: Linux Kernel Mailing List , Alan Cox , Sam Ravnborg , Andrew Morton Subject: Re: [PATCH] In-Reply-To: Message-ID: References: <2E204ACD-E697-42C6-8F01-22C1B7B4A85B@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Report: Content analysis: 0.0 points, 6.0 required _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Apr 1 2007 15:42, Kyle Moffett wrote: >Date: Sun, 1 Apr 2007 15:42:09 -0400 >From: Kyle Moffett >To: Jan Engelhardt >Cc: Linux Kernel Mailing List , > Alan Cox , Sam Ravnborg , > Andrew Morton >Subject: [PATCH] > > Add a CONFIG_I_KNOW_WHAT_THE_HELL_I_AM_DOING variable with a really strong > warning attached to it (and a shorter CONFIG_EXPERT variable for use in > Kconfig files where it's a PITA to type out the full name) Do it like Linus Torvalds and Marissa Mayer and get a better mailer :-D Index: linux-2.6.20.1/init/Kconfig =================================================================== --- linux-2.6.20.1.orig/init/Kconfig +++ linux-2.6.20.1/init/Kconfig @@ -40,6 +40,35 @@ you say Y here, you will be offered the choice of using features or drivers that are currently considered to be in the alpha-test phase. +config I_KNOW_WHAT_THE_HELL_I_AM_DOING Let's just hope kconfig does not bust the stack. Perhaps we could shorten that: I_KNOW_WTF_I_AM_DOING + bool "Prompt for config options which will break your computer" s/will break (.*)/could break $1 if done wrong/; + ---help--- + Some kernel developers sometimes need to tune kernel parameters + outside of their normal limits. Without complete knowledge of + exactly what you are doing you are likely to corrupt the laws of + physics and destroy the universe (well, not quite, but you'll + certainly corrupt your data and crash your box). If you really + know what you're doing and accept that if it breaks you get to + keep the pieces, then go ahead and enable this option. + + NOTICE: Bug reports where this option is turned on in the kernel + config will be: (not necessarily in this order) + 1) Laughed at hysterically + 2) Made much fun of + 3) Ridiculed until we're red in the face + 4) Ignored + + WARNING: If you are building a kernel for a distribution, DO NOT + TURN THIS OPTION ON!!! Instead you should submit a patch which + adds a new safe value to the list of possibilities for the config + option you're interested in. Otherwise your users might have a + hard time getting kernel support on the LKML. + +config EXPERT + bool + depends on I_KNOW_WHAT_THE_HELL_I_AM_DOING + default y + config BROKEN bool Given that, I hope the number of options dependent on CONFIG_EXPERT will outnumber those depending on CONFIG_I_KNOW_WTF_I_AM_DOING. If you want my answer: not-so-ACK, move the text to CONFIG_EXPERT and let's stay sane for the next 366 days until next April 01. Jan --