diff options
| author | Kang-Che Sung <explorer09@gmail.com> | 2017-02-09 22:48:51 +0800 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-03-28 18:26:21 +0200 |
| commit | 257734855cbcc12ddeb0a6ab0fd8ce161becf671 (patch) | |
| tree | de9160b973903e2b6dc2ce8574e179b72ea6e2b5 /modutils | |
| parent | ab03061615706d5c741752483cd9729169bf5090 (diff) | |
| download | busybox-w32-257734855cbcc12ddeb0a6ab0fd8ce161becf671.tar.gz busybox-w32-257734855cbcc12ddeb0a6ab0fd8ce161becf671.tar.bz2 busybox-w32-257734855cbcc12ddeb0a6ab0fd8ce161becf671.zip | |
Update depmod & modprobe upstream help text in comments
No code changes.
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils')
| -rw-r--r-- | modutils/modprobe-small.c | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index 485ba4302..0c0fe8d5d 100644 --- a/modutils/modprobe-small.c +++ b/modutils/modprobe-small.c | |||
| @@ -863,25 +863,28 @@ Usage: rmmod [-fhswvV] modulename ... | |||
| 863 | should eventually fall to zero). | 863 | should eventually fall to zero). |
| 864 | 864 | ||
| 865 | # modprobe | 865 | # modprobe |
| 866 | Usage: modprobe [-v] [-V] [-C config-file] [-n] [-i] [-q] [-b] | 866 | Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] |
| 867 | [-o <modname>] [ --dump-modversions ] <modname> [parameters...] | 867 | [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...] |
| 868 | modprobe -r [-n] [-i] [-v] <modulename> ... | 868 | modprobe -r [-n] [-i] [-v] <modulename> ... |
| 869 | modprobe -l -t <dirname> [ -a <modulename> ...] | 869 | modprobe -l -t <dirname> [ -a <modulename> ...] |
| 870 | 870 | ||
| 871 | # depmod --help | 871 | # depmod --help |
| 872 | depmod 3.4 -- part of module-init-tools | 872 | depmod 3.13 -- part of module-init-tools |
| 873 | depmod -[aA] [-n -e -v -q -V -r -u] | 873 | depmod -[aA] [-n -e -v -q -V -r -u -w -m] |
| 874 | [-b basedirectory] [forced_version] | 874 | [-b basedirectory] [forced_version] |
| 875 | depmod [-n -e -v -q -r -u] [-F kernelsyms] module1.ko module2.ko ... | 875 | depmod [-n -e -v -q -r -u -w] [-F kernelsyms] module1.ko module2.ko ... |
| 876 | If no arguments (except options) are given, "depmod -a" is assumed. | 876 | If no arguments (except options) are given, "depmod -a" is assumed. |
| 877 | depmod will output a dependency list suitable for the modprobe utility. | 877 | depmod will output a dependency list suitable for the modprobe utility. |
| 878 | Options: | 878 | Options: |
| 879 | -a, --all Probe all modules | 879 | -a, --all Probe all modules |
| 880 | -A, --quick Only does the work if there's a new module | 880 | -A, --quick Only does the work if there's a new module |
| 881 | -n, --show Write the dependency file on stdout only | ||
| 882 | -e, --errsyms Report not supplied symbols | 881 | -e, --errsyms Report not supplied symbols |
| 882 | -m, --map Create the legacy map files | ||
| 883 | -n, --show Write the dependency file on stdout only | ||
| 884 | -P, --symbol-prefix Architecture symbol prefix | ||
| 883 | -V, --version Print the release version | 885 | -V, --version Print the release version |
| 884 | -v, --verbose Enable verbose mode | 886 | -v, --verbose Enable verbose mode |
| 887 | -w, --warn Warn on duplicates | ||
| 885 | -h, --help Print this usage message | 888 | -h, --help Print this usage message |
| 886 | The following options are useful for people managing distributions: | 889 | The following options are useful for people managing distributions: |
| 887 | -b basedirectory | 890 | -b basedirectory |
| @@ -890,6 +893,9 @@ The following options are useful for people managing distributions: | |||
| 890 | -F kernelsyms | 893 | -F kernelsyms |
| 891 | --filesyms kernelsyms | 894 | --filesyms kernelsyms |
| 892 | Use the file instead of the current kernel symbols | 895 | Use the file instead of the current kernel symbols |
| 896 | -E Module.symvers | ||
| 897 | --symvers Module.symvers | ||
| 898 | Use Module.symvers file to check symbol versions | ||
| 893 | */ | 899 | */ |
| 894 | 900 | ||
| 895 | //usage:#if ENABLE_MODPROBE_SMALL | 901 | //usage:#if ENABLE_MODPROBE_SMALL |
| @@ -951,10 +957,12 @@ int modprobe_main(int argc UNUSED_PARAM, char **argv) | |||
| 951 | * -e: report any symbols which a module needs | 957 | * -e: report any symbols which a module needs |
| 952 | * which are not supplied by other modules or the kernel | 958 | * which are not supplied by other modules or the kernel |
| 953 | * -F FILE: System.map (symbols for -e) | 959 | * -F FILE: System.map (symbols for -e) |
| 954 | * -q, -r, -u: noop? | 960 | * -q, -r, -u: noop |
| 955 | * Not supported: | 961 | * Not supported: |
| 956 | * -b BASEDIR: (TODO!) modules are in | 962 | * -b BASEDIR: (TODO!) modules are in |
| 957 | * $BASEDIR/lib/modules/$VERSION | 963 | * $BASEDIR/lib/modules/$VERSION |
| 964 | * -m: create legacy "modules.*map" files (deprecated; in | ||
| 965 | * kmod's depmod, prints a warning message and continues) | ||
| 958 | * -v: human readable deps to stdout | 966 | * -v: human readable deps to stdout |
| 959 | * -V: version (don't want to support it - people may depend | 967 | * -V: version (don't want to support it - people may depend |
| 960 | * on it as an indicator of "standard" depmod) | 968 | * on it as an indicator of "standard" depmod) |
