[PATCH] modprobe and multiple options to modules

Atsushi Nemoto anemo at mba.ocn.ne.jp
Mon Oct 17 08:14:23 UTC 2005


>>>>> On Tue, 4 Oct 2005 23:17:52 +0200, "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr> said:
yann> Done. It is CONFIG_MODPROBE_MULTIPLE_OPTIONS, depending on
yann> CONFIG_MODPROBE.  The resulting code is uggly to me. Is there a
yann> better way to do that? Any way, if
yann> CONFIG_MODPROBE_MULTIPLE_OPTIONS is not selected, the previous
yann> code is retained, which means only one option can be passed to a
yann> module.

yann> A few quirks mended as well.

yann> This patch is still against 1.01, and supersedes my previous
yann> patches on the matter.

I noticed this problem ("modprobe counld not pass multiple arguments")
on busybox 1.01 today and found your patch on ML archive.  It works
for me, thank you.  If I had not found your mail, I was to start
debugging my driver ...

IMHO, this is really a BUG and CONFIG_MODPROBE_MULTIPLE_OPTIONS should
be enabled by default (or enabled always).  I think modprobe should
warn for multiple options if CONFIG_MODPROBE_MULTIPLE_OPTIONS
disabled.

---
Atsushi Nemoto



More information about the busybox mailing list