Lucas De Marchi | bf89f76 | 2011-12-01 18:23:47 -0200 | [diff] [blame] | 1 | Features: |
Lucas De Marchi | 5e690c5 | 2011-12-16 02:02:58 -0200 | [diff] [blame^] | 2 | ========= |
Lucas De Marchi | bf89f76 | 2011-12-01 18:23:47 -0200 | [diff] [blame] | 3 | |
| 4 | * config: configs that do not need to be matched by fnmatch() could be using a |
| 5 | vector instead of a list. This way we could search in it by calling |
| 6 | bsearch(). |
| 7 | |
Lucas De Marchi | c3325cf | 2011-12-02 14:49:57 -0200 | [diff] [blame] | 8 | * index: drop the "open(), seek(), read()" implementation and use another one |
| 9 | with mmap(). When lookup() is called and the file is not mmaped, mmap it. |
| 10 | |
Gustavo Sverzut Barbieri | c3d0a5f | 2011-12-11 19:36:18 -0200 | [diff] [blame] | 11 | * create test-mock library to be LD_PRELOAD'ed before running the binaries |
Gustavo Sverzut Barbieri | 7fe602b | 2011-12-10 13:32:27 -0200 | [diff] [blame] | 12 | so we're able to create unit tests |
Gustavo Sverzut Barbieri | c3d0a5f | 2011-12-11 19:36:18 -0200 | [diff] [blame] | 13 | |
| 14 | * provide ELF manipulation to implement modinfo |
| 15 | |
Lucas De Marchi | d68ea2a | 2011-12-14 14:02:28 -0200 | [diff] [blame] | 16 | * Add lookup for install commands in kmod_module_new_from_lookup() |
| 17 | |
| 18 | * Add lookup for remove commands |
| 19 | |
| 20 | * Add functions to dump configuration |
| 21 | |
| 22 | * Add functions list all modules known by modules.dep |
| 23 | |
| 24 | * Implement soft dependencies |
| 25 | |
Lucas De Marchi | d68ea2a | 2011-12-14 14:02:28 -0200 | [diff] [blame] | 26 | * provide 1:1 compatibility with module-init-tools's modprobe |
| 27 | - show modversions (needs elf manipulation) |
| 28 | - dump configuration |
Lucas De Marchi | c4b4ac9 | 2011-12-15 12:14:43 -0200 | [diff] [blame] | 29 | - use softdep |
| 30 | - install and remove commands may exist when there's no module with that |
| 31 | name. Properly handle this case |
Lucas De Marchi | d68ea2a | 2011-12-14 14:02:28 -0200 | [diff] [blame] | 32 | |
Lucas De Marchi | 5e690c5 | 2011-12-16 02:02:58 -0200 | [diff] [blame^] | 33 | * gzip support for modprobe |
Lucas De Marchi | d68ea2a | 2011-12-14 14:02:28 -0200 | [diff] [blame] | 34 | |
Lucas De Marchi | 5e690c5 | 2011-12-16 02:02:58 -0200 | [diff] [blame^] | 35 | Known Bugs: |
| 36 | =========== |
| 37 | |
| 38 | * modprobe -R should not try to load module |
| 39 | |
| 40 | Notes for future development: |
| 41 | ============================= |
| 42 | |
| 43 | * Kill support for /etc/modprobe.conf |
| 44 | |
| 45 | * Kill support for map files |
| 46 | |
| 47 | Things to be added removed in kernel (check what is really needed): |
| 48 | =================================================================== |
| 49 | |
| 50 | * list of currently loaded modules |
| 51 | |
| 52 | * module's size should be available under /sys |
| 53 | |
| 54 | * kill /proc/modules ? |