[PATCH] modprobe / bug-generator 941 & 942
Natanael Copa
natanael.copa at gmail.com
Sat Jul 15 11:18:31 PDT 2006
On Sat, 2006-07-15 at 20:05 +0200, Yann E. MORIN wrote:
> 942-modprobe_no_system_config_file fixes
> [BusyBox 0000942]: busybox not use modules.alias for load module, if...
>
> This one also saves 4 bytes on x86_64, 8 when CONFIG_CLEAN_UP is enabled.
While you are at it, could you fix the logic too?
As I explained in my mail earlier today:
* if 2_6_MODULES is enabled, modules.conf will never be read. I suppose
even 2.6 kernel systems should try to read modules.conf?
* if 2_6_MODULES is not enabled the code for looking
after /lib/modules/`uname -r`/modulues.alias will be included which is
not necessary. Putting this inside a if(CONFIG_FEATURE_2_6_ENABLED)
saves some bytes on a 2.4 system.
Please see the patch found here to see what I mean:
http://busybox.net/lists/busybox/2006-July/023213.html
Thanks!
--
Natanael Copa
More information about the busybox
mailing list