diff options
Diffstat (limited to 'modutils/Config.in')
-rw-r--r-- | modutils/Config.in | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/modutils/Config.in b/modutils/Config.in index 2e7f9b6e5..40da1ac7a 100644 --- a/modutils/Config.in +++ b/modutils/Config.in | |||
@@ -11,23 +11,31 @@ config MODPROBE_SMALL | |||
11 | help | 11 | help |
12 | Simplified modutils. | 12 | Simplified modutils. |
13 | 13 | ||
14 | With this option modprobe does not use or require | 14 | With this option modprobe does not require modules.dep file |
15 | modules.dep or /etc/modules.conf files. | 15 | and does not use /etc/modules.conf file. |
16 | It scans module files in /lib/modules/`uname -r` and | 16 | It scans module files in /lib/modules/`uname -r` and |
17 | determines dependencies and module alias names on the fly. | 17 | determines dependencies and module alias names on the fly. |
18 | This may make module loading slower, most notably | 18 | This may make module loading slower, most notably |
19 | when one needs to load module by alias (this requires | 19 | when one needs to load module by alias (this requires |
20 | scanning through module _bodies_). | 20 | scanning through module _bodies_). |
21 | 21 | ||
22 | At the first attempt to load a module by alias modprobe | ||
23 | will try to generate modules.dep.bb file in order to speed up | ||
24 | future loads by alias. Failure to do so (read-only /lib/modules, | ||
25 | etc) is not reported, and future modprobes will be slow too. | ||
26 | |||
27 | NB: modules.dep.bb file format is not compatible | ||
28 | with modules.dep file as created/used by standard module tools. | ||
29 | |||
22 | Additional module parameters can be stored in | 30 | Additional module parameters can be stored in |
23 | /etc/modules/$module_name files. | 31 | /etc/modules/$module_name files. |
24 | 32 | ||
25 | Apart from modprobe, other utilities are also provided: | 33 | Apart from modprobe, other utilities are also provided: |
26 | - insmod is an alias to modprobe | 34 | - insmod is an alias to modprobe |
27 | - rmmod is an alias to modprobe -r | 35 | - rmmod is an alias to modprobe -r |
28 | - depmod is provided but does nothing | 36 | - depmod generates modules.dep.bb |
29 | 37 | ||
30 | As of 2008-07, this code is experimental. It it 15kb smaller | 38 | As of 2008-07, this code is experimental. It it 14kb smaller |
31 | than "non-small" modutils. | 39 | than "non-small" modutils. |
32 | 40 | ||
33 | config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE | 41 | config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE |