diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-13 14:59:38 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-13 14:59:38 +0000 |
commit | ba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5 (patch) | |
tree | b5b295f5382bd71c6184539feabf0ba061897131 /include | |
parent | 4f3209b9d4b24ebe9b76e3bfe8ddd87af5228af9 (diff) | |
download | busybox-w32-ba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5.tar.gz busybox-w32-ba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5.tar.bz2 busybox-w32-ba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index f4fc2e67a..71e9f42e8 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2569,12 +2569,17 @@ | |||
2569 | "[-knqrsv] MODULE [symbol=value...]" | 2569 | "[-knqrsv] MODULE [symbol=value...]" |
2570 | #define modprobe_full_usage "\n\n" \ | 2570 | #define modprobe_full_usage "\n\n" \ |
2571 | "Options:" \ | 2571 | "Options:" \ |
2572 | USE_FEATURE_2_4_MODULES( \ | ||
2572 | "\n -k Make module autoclean-able" \ | 2573 | "\n -k Make module autoclean-able" \ |
2574 | ) \ | ||
2573 | "\n -n Dry run" \ | 2575 | "\n -n Dry run" \ |
2574 | "\n -q Quiet" \ | 2576 | "\n -q Quiet" \ |
2575 | "\n -r Remove module (stacks) or do autoclean" \ | 2577 | "\n -r Remove module (stacks) or do autoclean" \ |
2576 | "\n -s Report via syslog instead of stderr" \ | 2578 | "\n -s Report via syslog instead of stderr" \ |
2577 | "\n -v Verbose" \ | 2579 | "\n -v Verbose" \ |
2580 | USE_FEATURE_MODPROBE_BLACKLIST( \ | ||
2581 | "\n -b Apply blacklist to module names too" \ | ||
2582 | ) | ||
2578 | 2583 | ||
2579 | #define modprobe_notes_usage \ | 2584 | #define modprobe_notes_usage \ |
2580 | "modprobe can (un)load a stack of modules, passing each module options (when\n" \ | 2585 | "modprobe can (un)load a stack of modules, passing each module options (when\n" \ |