aboutsummaryrefslogtreecommitdiff
path: root/modutils/modprobe-small.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-12-22 14:36:49 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-12-22 14:36:49 +0100
commit326edc3e375d6d5be205d4b1592211bf15e33bcd (patch)
tree09de5f15a633a45709298979f0d216afe553b81c /modutils/modprobe-small.c
parent2166952ec393b9a8f890a12951c812c47fdfd457 (diff)
downloadbusybox-w32-326edc3e375d6d5be205d4b1592211bf15e33bcd.tar.gz
busybox-w32-326edc3e375d6d5be205d4b1592211bf15e33bcd.tar.bz2
busybox-w32-326edc3e375d6d5be205d4b1592211bf15e33bcd.zip
Tweak some config defaults; fix MODPROBE_SMALL ordering in "make config"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/modprobe-small.c')
-rw-r--r--modutils/modprobe-small.c34
1 files changed, 3 insertions, 31 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c
index 51ba42f7a..e3a349b4e 100644
--- a/modutils/modprobe-small.c
+++ b/modutils/modprobe-small.c
@@ -7,37 +7,9 @@
7 * 7 *
8 * Licensed under GPLv2, see file LICENSE in this source tree. 8 * Licensed under GPLv2, see file LICENSE in this source tree.
9 */ 9 */
10//config:config MODPROBE_SMALL 10
11//config: bool "Simplified modutils" 11/* config MODPROBE_SMALL is defined in Config.src to ensure better "make config" order */
12//config: default y 12
13//config: select PLATFORM_LINUX
14//config: help
15//config: Simplified modutils.
16//config:
17//config: With this option modprobe does not require modules.dep file
18//config: and does not use /etc/modules.conf file.
19//config: It scans module files in /lib/modules/`uname -r` and
20//config: determines dependencies and module alias names on the fly.
21//config: This may make module loading slower, most notably
22//config: when one needs to load module by alias (this requires
23//config: scanning through module _bodies_).
24//config:
25//config: At the first attempt to load a module by alias modprobe
26//config: will try to generate modules.dep.bb file in order to speed up
27//config: future loads by alias. Failure to do so (read-only /lib/modules,
28//config: etc) is not reported, and future modprobes will be slow too.
29//config:
30//config: NB: modules.dep.bb file format is not compatible
31//config: with modules.dep file as created/used by standard module tools.
32//config:
33//config: Additional module parameters can be stored in
34//config: /etc/modules/$module_name files.
35//config:
36//config: Apart from modprobe, other utilities are also provided:
37//config: - insmod is an alias to modprobe
38//config: - rmmod is an alias to modprobe -r
39//config: - depmod generates modules.dep.bb
40//config:
41//config:config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE 13//config:config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
42//config: bool "Accept module options on modprobe command line" 14//config: bool "Accept module options on modprobe command line"
43//config: default y 15//config: default y