diff options
author | Denys Vlasenko | 2016-12-22 14:36:49 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-12-22 14:36:49 +0100 |
commit | 326edc3e375d6d5be205d4b1592211bf15e33bcd (patch) | |
tree | 09de5f15a633a45709298979f0d216afe553b81c /modutils/Config.src | |
parent | 2166952ec393b9a8f890a12951c812c47fdfd457 (diff) | |
download | busybox-326edc3e375d6d5be205d4b1592211bf15e33bcd.zip busybox-326edc3e375d6d5be205d4b1592211bf15e33bcd.tar.gz |
Tweak some config defaults; fix MODPROBE_SMALL ordering in "make config"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/Config.src')
-rw-r--r-- | modutils/Config.src | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/modutils/Config.src b/modutils/Config.src index 4227f35..84ff34a 100644 --- a/modutils/Config.src +++ b/modutils/Config.src @@ -5,6 +5,37 @@ menu "Linux Module Utilities" +config MODPROBE_SMALL + bool "Simplified modutils" + default y + select PLATFORM_LINUX + help + Simplified modutils. + + With this option modprobe does not require modules.dep file + and does not use /etc/modules.conf file. + It scans module files in /lib/modules/`uname -r` and + determines dependencies and module alias names on the fly. + This may make module loading slower, most notably + when one needs to load module by alias (this requires + scanning through module _bodies_). + + At the first attempt to load a module by alias modprobe + will try to generate modules.dep.bb file in order to speed up + future loads by alias. Failure to do so (read-only /lib/modules, + etc) is not reported, and future modprobes will be slow too. + + NB: modules.dep.bb file format is not compatible + with modules.dep file as created/used by standard module tools. + + Additional module parameters can be stored in + /etc/modules/$module_name files. + + Apart from modprobe, other utilities are also provided: + - insmod is an alias to modprobe + - rmmod is an alias to modprobe -r + - depmod generates modules.dep.bb + INSERT comment "Options common to multiple modutils" |