[PATCH] modprobe and multiple options to modules

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Wed Sep 28 11:45:22 UTC 2005


Hi all!

Could you review and comment this patch that allows modprobe to accept more
than one option to modules?

I didn't use any existing option parsing as it looked excesively complicated
for what was needed.

On an Intel P4, it adds 236 bytes:
   text    data     bss     dec     hex filename
   3728      20      28    3776     ec0 modprobe.o-orig
   3964      20      28    4012     fac modprobe.o-new

On an ARM Xscale, it adds 296 bytes:
   text    data     bss     dec     hex filename
   4676      20      28    4724    1274 modprobe.o-orig
   4972      20      28    5020    139c modprobe.o-new

That looks like a lot... :-(

Note: In modprobe.c, there were spaces in place of tabs at two places. I also
replaced them with tabs.

Regards,
Yann E. MORIN.

--
Yann E. MORIN
Roaming in the world...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.01-modprobe_options.patch
Type: text/x-patch
Size: 3115 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20050928/089271a2/busybox-1.01-modprobe_options.bin


More information about the busybox mailing list