Re: fix-processing-of-obsolete-style-setup-options breaks UML arg parsing

From: Dmitry Torokhov
Date: Thu Jan 12 2006 - 23:18:27 EST


On Thursday 12 January 2006 20:15, Jeff Dike wrote:
> UML has a bunch of parameters styled on the hd<n>= and ide<n>=
> parameters which depend on matching a prefix of the command-line
> argument. This patch explicitly removes this prefix matching.
>
> I know that this has "obsolete" written all over it, but I don't see
> any more modern replacement which allows prefix matching.
> module_param seems to be the more modern thing, but AFAICS, it is
> matching entire command-line arguments. Strangely, it will match when
> the command-line argument is a prefix of the in-kernel parameter
> string, which seems exactly backwards.
>
> The hd<n>= and ide<n>= switches are still present, in ide_setup, using
> the old mechanism, and they now seem to be broken as well.
>

Argh, I completely missed presence of hd<n>= parameters, sorry...

Andrew, please drop it.

--
Dmitry
-
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/