diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 07:54:52 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 07:54:52 +0100 |
commit | e32b64c4ec9272295df6852fb2a2888d7799d2f0 (patch) | |
tree | fa64292eb0697f7963060ad6d41f1d76b4978dff /modutils/Config.src | |
parent | 5467d268f09ddddd200ab14fd402831708be5dfd (diff) | |
download | busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.gz busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.bz2 busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.zip |
Convert all modutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/Config.src')
-rw-r--r-- | modutils/Config.src | 111 |
1 files changed, 0 insertions, 111 deletions
diff --git a/modutils/Config.src b/modutils/Config.src index 0b11832bc..4227f356a 100644 --- a/modutils/Config.src +++ b/modutils/Config.src | |||
@@ -7,117 +7,6 @@ menu "Linux Module Utilities" | |||
7 | 7 | ||
8 | INSERT | 8 | INSERT |
9 | 9 | ||
10 | config MODPROBE_SMALL | ||
11 | bool "Simplified modutils" | ||
12 | default y | ||
13 | select PLATFORM_LINUX | ||
14 | help | ||
15 | Simplified modutils. | ||
16 | |||
17 | With this option modprobe does not require modules.dep file | ||
18 | and does not use /etc/modules.conf file. | ||
19 | It scans module files in /lib/modules/`uname -r` and | ||
20 | determines dependencies and module alias names on the fly. | ||
21 | This may make module loading slower, most notably | ||
22 | when one needs to load module by alias (this requires | ||
23 | scanning through module _bodies_). | ||
24 | |||
25 | At the first attempt to load a module by alias modprobe | ||
26 | will try to generate modules.dep.bb file in order to speed up | ||
27 | future loads by alias. Failure to do so (read-only /lib/modules, | ||
28 | etc) is not reported, and future modprobes will be slow too. | ||
29 | |||
30 | NB: modules.dep.bb file format is not compatible | ||
31 | with modules.dep file as created/used by standard module tools. | ||
32 | |||
33 | Additional module parameters can be stored in | ||
34 | /etc/modules/$module_name files. | ||
35 | |||
36 | Apart from modprobe, other utilities are also provided: | ||
37 | - insmod is an alias to modprobe | ||
38 | - rmmod is an alias to modprobe -r | ||
39 | - depmod generates modules.dep.bb | ||
40 | |||
41 | config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE | ||
42 | bool "Accept module options on modprobe command line" | ||
43 | default y | ||
44 | depends on MODPROBE_SMALL | ||
45 | select PLATFORM_LINUX | ||
46 | help | ||
47 | Allow insmod and modprobe take module options from command line. | ||
48 | |||
49 | config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED | ||
50 | bool "Skip loading of already loaded modules" | ||
51 | default y | ||
52 | depends on MODPROBE_SMALL | ||
53 | help | ||
54 | Check if the module is already loaded. | ||
55 | |||
56 | config INSMOD | ||
57 | bool "insmod" | ||
58 | default n | ||
59 | depends on !MODPROBE_SMALL | ||
60 | select PLATFORM_LINUX | ||
61 | help | ||
62 | insmod is used to load specified modules in the running kernel. | ||
63 | |||
64 | config RMMOD | ||
65 | bool "rmmod" | ||
66 | default n | ||
67 | depends on !MODPROBE_SMALL | ||
68 | select PLATFORM_LINUX | ||
69 | help | ||
70 | rmmod is used to unload specified modules from the kernel. | ||
71 | |||
72 | config LSMOD | ||
73 | bool "lsmod" | ||
74 | default n | ||
75 | depends on !MODPROBE_SMALL | ||
76 | select PLATFORM_LINUX | ||
77 | help | ||
78 | lsmod is used to display a list of loaded modules. | ||
79 | |||
80 | config FEATURE_LSMOD_PRETTY_2_6_OUTPUT | ||
81 | bool "Pretty output" | ||
82 | default n | ||
83 | depends on LSMOD | ||
84 | select PLATFORM_LINUX | ||
85 | help | ||
86 | This option makes output format of lsmod adjusted to | ||
87 | the format of module-init-tools for Linux kernel 2.6. | ||
88 | Increases size somewhat. | ||
89 | |||
90 | config MODPROBE | ||
91 | bool "modprobe" | ||
92 | default n | ||
93 | depends on !MODPROBE_SMALL | ||
94 | select PLATFORM_LINUX | ||
95 | help | ||
96 | Handle the loading of modules, and their dependencies on a high | ||
97 | level. | ||
98 | |||
99 | config FEATURE_MODPROBE_BLACKLIST | ||
100 | bool "Blacklist support" | ||
101 | default n | ||
102 | depends on MODPROBE | ||
103 | select PLATFORM_LINUX | ||
104 | help | ||
105 | Say 'y' here to enable support for the 'blacklist' command in | ||
106 | modprobe.conf. This prevents the alias resolver to resolve | ||
107 | blacklisted modules. This is useful if you want to prevent your | ||
108 | hardware autodetection scripts to load modules like evdev, frame | ||
109 | buffer drivers etc. | ||
110 | |||
111 | config DEPMOD | ||
112 | bool "depmod" | ||
113 | default n | ||
114 | depends on !MODPROBE_SMALL | ||
115 | select PLATFORM_LINUX | ||
116 | help | ||
117 | depmod generates modules.dep (and potentially modules.alias | ||
118 | and modules.symbols) that contain dependency information | ||
119 | for modprobe. | ||
120 | |||
121 | comment "Options common to multiple modutils" | 10 | comment "Options common to multiple modutils" |
122 | 11 | ||
123 | config FEATURE_2_4_MODULES | 12 | config FEATURE_2_4_MODULES |