Re: [PATCH] configfs: change depends -> select SYSFS

From: Bernd Petrovitsch
Date: Mon Jan 17 2011 - 11:17:29 EST


On Mon, 2011-01-17 at 01:52 +0100, Stefan Richter wrote:
[...]
> 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

IOMHO not really.

> between depends-on and select. Let the different UIs present the

The UI should know the difference as it should guide/force the user -
especially the less experienced ones which aren't expected to know every
bit of hardware and kernel-internal stuff (as in "do I need gzip
compression?").

And there are two (IMHO very) different semantics:
- select: enables/activates/includes necessary other parts (like the
"gzip compression" example from above and other library-like).
- depends on: to purposely disable knobs because it makes no sense to
configure e.g. ext-specific stuff if I don't have/want ext or because
the physical hardware is not present/available (find more and better
in Al Viros mail of course).

> dependency graph to the operator in different ways, suitable to different
> tasks.

That would be quite cute.

> /handwave off.
AOL.
Bernd
--
Bernd Petrovitsch Email : bernd@xxxxxxxxxxxxxxxxxxx
LUGA : http://www.luga.at

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/