diff options
| author | Ron Yorston <rmy@pobox.com> | 2017-01-04 11:32:33 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2017-01-04 11:41:38 +0000 |
| commit | f9cf712f8a640ac2d250dfa77dd809ab033f618a (patch) | |
| tree | c8f6135b5842e0110ca54d6690ab95b28792bb1e /modutils/Config.src | |
| parent | 71ecc8033e6989996057b32577e71148fd544596 (diff) | |
| parent | c6725b0af68238a456690146adec763c04f66c82 (diff) | |
| download | busybox-w32-f9cf712f8a640ac2d250dfa77dd809ab033f618a.tar.gz busybox-w32-f9cf712f8a640ac2d250dfa77dd809ab033f618a.tar.bz2 busybox-w32-f9cf712f8a640ac2d250dfa77dd809ab033f618a.zip | |
Merge branch 'busybox' into merge
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 4227f356a..84ff34a08 100644 --- a/modutils/Config.src +++ b/modutils/Config.src | |||
| @@ -5,6 +5,37 @@ | |||
| 5 | 5 | ||
| 6 | menu "Linux Module Utilities" | 6 | menu "Linux Module Utilities" |
| 7 | 7 | ||
| 8 | config MODPROBE_SMALL | ||
| 9 | bool "Simplified modutils" | ||
| 10 | default y | ||
| 11 | select PLATFORM_LINUX | ||
| 12 | help | ||
| 13 | Simplified modutils. | ||
| 14 | |||
| 15 | With this option modprobe does not require modules.dep file | ||
| 16 | and does not use /etc/modules.conf file. | ||
| 17 | It scans module files in /lib/modules/`uname -r` and | ||
| 18 | determines dependencies and module alias names on the fly. | ||
| 19 | This may make module loading slower, most notably | ||
| 20 | when one needs to load module by alias (this requires | ||
| 21 | scanning through module _bodies_). | ||
| 22 | |||
| 23 | At the first attempt to load a module by alias modprobe | ||
| 24 | will try to generate modules.dep.bb file in order to speed up | ||
| 25 | future loads by alias. Failure to do so (read-only /lib/modules, | ||
| 26 | etc) is not reported, and future modprobes will be slow too. | ||
| 27 | |||
| 28 | NB: modules.dep.bb file format is not compatible | ||
| 29 | with modules.dep file as created/used by standard module tools. | ||
| 30 | |||
| 31 | Additional module parameters can be stored in | ||
| 32 | /etc/modules/$module_name files. | ||
| 33 | |||
| 34 | Apart from modprobe, other utilities are also provided: | ||
| 35 | - insmod is an alias to modprobe | ||
| 36 | - rmmod is an alias to modprobe -r | ||
| 37 | - depmod generates modules.dep.bb | ||
| 38 | |||
| 8 | INSERT | 39 | INSERT |
| 9 | 40 | ||
| 10 | comment "Options common to multiple modutils" | 41 | comment "Options common to multiple modutils" |
