From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752245Ab1AQAwp (ORCPT ); Sun, 16 Jan 2011 19:52:45 -0500 Received: from einhorn.in-berlin.de ([192.109.42.8]:38309 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751427Ab1AQAwk (ORCPT ); Sun, 16 Jan 2011 19:52:40 -0500 X-Envelope-From: stefanr@s5r6.in-berlin.de Date: Mon, 17 Jan 2011 01:52:20 +0100 From: Stefan Richter To: Linus Torvalds Cc: Al Viro , "Nicholas A. Bellinger" , linux-kernel , linux-scsi , linux-fsdevel , Joel Becker , Randy Dunlap , James Bottomley Subject: Re: [PATCH] configfs: change depends -> select SYSFS Message-ID: <20110117015220.11b43ae7@stein> In-Reply-To: References: <1295125851-25279-1-git-send-email-nab@linux-iscsi.org> <20110116141105.59e5b3a2@stein> <1295214807.22813.57.camel@haakon2.linux-iscsi.org> <20110117000659.57352da7@stein> <20110116231901.GF22723@ZenIV.linux.org.uk> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Jan 16 Linus Torvalds wrote: > Or do you expect a high-quality implementation of a configuration > script to allow the user to just say "I want ocfs2", and then figure > out the dependencies and solve them for you? > > I'd say that the latter case is OBVIOUSLY the quality implementation, > while the former one is just stupid. As Al noted, there also needs to be a convenient way to *disable* options. Hence, the Kconfig files should merely declare the dependencies. Then, some user interfaces should deal with the this database of dependencies and let different people achieve different goals as easily as possible. We already have different UIs. But perhaps we have too much UI down in the Kconfig files. I.e., perhaps Kconfig shouldn't know the difference between depends-on and select. Let the different UIs present the dependency graph to the operator in different ways, suitable to different tasks. /handwave off. -- Stefan Richter -=====-==-== ---= =---= http://arcgraph.de/sr/