]>
Commit | Line | Data |
---|---|---|
bf89f76e | 1 | Features: |
5e690c5c | 2 | ========= |
bf89f76e LDM |
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 | ||
c3325cfc LDM |
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 | ||
c3d0a5f2 | 11 | * create test-mock library to be LD_PRELOAD'ed before running the binaries |
7fe602b6 | 12 | so we're able to create unit tests |
c3d0a5f2 | 13 | |
3af535c9 LDM |
14 | * Add functions to dump configuration. Create a list with the config items |
15 | (blacklist, aliases, etc) or just dump to a fd? | |
d68ea2ae | 16 | |
3af535c9 | 17 | * Add functions to list all modules known by modules.dep |
d68ea2ae | 18 | |
d68ea2ae | 19 | * provide 1:1 compatibility with module-init-tools's modprobe |
d68ea2ae | 20 | - dump configuration |
c35347f1 | 21 | |
674f8590 GSB |
22 | * review API, maybe unify all of these setters: |
23 | - kmod_module_version_get_symbol() | |
24 | - kmod_module_version_get_crc() | |
25 | - kmod_module_symbol_get_symbol() | |
26 | - kmod_module_symbol_get_crc() | |
27 | - kmod_module_dependency_symbol_get_symbol() | |
28 | - kmod_module_dependency_symbol_get_crc() | |
29 | - kmod_module_versions_free_list() | |
30 | - kmod_module_symbols_free_list() | |
31 | - kmod_module_dependency_symbols_free_list() | |
32 | ||
f841e63d GSB |
33 | * provide modules.archive, a cache file with all modules compressed |
34 | and a fast access. It's like a tar.gz, but with each entry | |
35 | compressed as opposed to the whole tar compressed, easy to pick | |
36 | individual entries, that is, more like .gz.tar. As zlib compression | |
37 | does not store the uncompressed file size, this could provide | |
38 | it. The file format should be something like: | |
39 | MAGIC-ID | |
40 | DIRECTORY-ENTRY-SIZE | |
41 | DIRECTORY (hash-like format, points to file offset and size) | |
42 | ENTRIES (each is a compressed module) | |
43 | Helper binary to: | |
44 | kmod-archive list | |
45 | kmod-archive add path.ko | |
46 | kmod-archive rm path.ko | |
47 | kmod-archive get path.ko | |
48 | kmod-archive exists path.ko | |
49 | ||
113c66a5 | 50 | Known Bugs: |
5e690c5c LDM |
51 | =========== |
52 | ||
5e690c5c | 53 | |
3af535c9 | 54 | Things to be added/removed in kernel (check what is really needed): |
5e690c5c LDM |
55 | =================================================================== |
56 | ||
57 | * list of currently loaded modules | |
58 | ||
59 | * module's size should be available under /sys | |
d68ea2ae | 60 | |
5e690c5c | 61 | * kill /proc/modules ? |
5a96c5f1 LDM |
62 | |
63 | Things that are different from module-init-tools on purpose (!TODO) | |
64 | =================================================================== | |
65 | ||
66 | modprobe | |
67 | -------- | |
68 | ||
69 | * 'modprobe -l' was marked as deprecated and does not exist anymore | |
70 | ||
71 | * 'modprobe -t' is gone, together with 'modprobe -l' | |
72 | ||
73 | * there's and additional '--remove-dependencies' flags to kmod-modprobe so we | |
74 | can remove modules depending on that one | |
75 | ||
76 | * kmod-modprobe doesn't parse configuration files whose name don't end on | |
77 | '.alias' or '.conf'. modprobe used to warn about these files. | |
78 | ||
79 | depmod | |
80 | ------ | |
81 | ||
82 | * there's no 'depmod -m' option: legacy modules.*map files are gone |