Re: sata & scsi suggestion for make menuconfig

Adrian Bunk
2007-09-14T16:16:26Z

On Fri, Sep 14, 2007 at 05:37:37PM +0200, Stefan Richter wrote:
> Adrian Bunk wrote:
> > On Fri, Sep 14, 2007 at 04:54:07PM +0200, Stefan Richter wrote:
> >> The patch which is discussed here is specifically targeted towards users
> >> who are convinced that they can migrate to different drivers without
> >> reading Kconfig help texts.
> >
> > Nothing about the patch is only about migration.
> >
> > The same applies if you configure a kernel from scratch.
> >
> > Do "make menuconfig" with the .config you are normally using, count the
> > number of options that are visible, and ask yourself whether we can
> > really expect users to read the help texts for every single option shown.
> >
> > People mostly read help texts for options where they don't understand
> > what this option is about - and "Serial ATA" therefore is an option that
> > is likely to get enabled without the user looking at the help text.
>
> If you create .config from scratch, then you can get away without
> reading help texts if you have a target with minimal hardware and
> protocols requirements and you know all the subsystems involved.
>
> In all other cases, you theoretically need to read all help texts (minus
> the ones that don't appear because you deselect entire subsystems). In
> practice, this takes too much time, hence you take an existing .config
> (yours or somebody else's) and go from there.

Kconfig let's you start with the defconfig when doing "make menuconfig"
without any .config present, so in practice users start from the
defconfig and then go through all menus at once enabling and disabling
options to adapt the configurations to their needs.

Or they start from the "includes everything" .config of their
distribution and remove everything they don't need.

> Whenever one enables an option for the first time, it would IMO be
> foolish to ignore its help text.

Then the number of non-foolish users is quite near to 0...

If you expect people to read several hundreds or thousands of help texts
only for configuring a kernel then you are expecting something that is
simply not realistic.

It is intuitive for a user to enable the "Serial ATA" menu and he might
not expect to have to read the help text when he has SATA drivers, while
having to enable anything in the "SCSI device support" menu is highly
unintuitively when the user does not have SCSI hardware.

> Stefan Richter

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed