modutils/*: rewrite by Timo Teras <timo.teras AT iki.fi>
- a lot faster (linear algorithmic complexity, smaller memory foot print) - a lot smaller (the old code was overly complicated) - loading of aliases is now module-init-tools compliant - blacklisting is done correctly (-b option added) - module argument quoting done right - depmod now correctly generates modules.symbols and modules.alias add/remove: 16/21 grow/shrink: 4/6 up/down: 6930/-9316 Total: -2386 bytes text data bss dec hex filename 806039 592 6680 813311 c68ff busybox_old 803498 592 6676 810766 c5f0e busybox_unstripped
This commit is contained in:
		@@ -2569,12 +2569,17 @@
 | 
			
		||||
       "[-knqrsv] MODULE [symbol=value...]"
 | 
			
		||||
#define modprobe_full_usage "\n\n" \
 | 
			
		||||
       "Options:" \
 | 
			
		||||
	USE_FEATURE_2_4_MODULES( \
 | 
			
		||||
     "\n	-k	Make module autoclean-able" \
 | 
			
		||||
	) \
 | 
			
		||||
     "\n	-n	Dry run" \
 | 
			
		||||
     "\n	-q	Quiet" \
 | 
			
		||||
     "\n	-r	Remove module (stacks) or do autoclean" \
 | 
			
		||||
     "\n	-s	Report via syslog instead of stderr" \
 | 
			
		||||
     "\n	-v	Verbose" \
 | 
			
		||||
	USE_FEATURE_MODPROBE_BLACKLIST( \
 | 
			
		||||
     "\n	-b	Apply blacklist to module names too" \
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
#define modprobe_notes_usage \
 | 
			
		||||
"modprobe can (un)load a stack of modules, passing each module options (when\n" \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user