diff options
| author | Ron Yorston <rmy@pobox.com> | 2016-11-29 11:26:45 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2016-11-29 11:26:45 +0000 |
| commit | bb8d79eadbba1942dbdb9f9cee5c47833afe269f (patch) | |
| tree | b8c517e9ca895d60d7227aef7177b6291df5e2cd /modutils/Config.src | |
| parent | 9fa1e4990e655a85025c9d270a1606983e375e47 (diff) | |
| parent | 7d877fc9312a742b06125927bb1d34bd35398c6c (diff) | |
| download | busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.gz busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.tar.bz2 busybox-w32-bb8d79eadbba1942dbdb9f9cee5c47833afe269f.zip | |
Merge branch 'busybox' into merge
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 |
