]> git.ipfire.org Git - thirdparty/kmod.git/blob - TODO
TODO: add idea about single file with all compressed modules.
[thirdparty/kmod.git] / TODO
1 Features:
2 =========
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
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
11 * create test-mock library to be LD_PRELOAD'ed before running the binaries
12 so we're able to create unit tests
13
14 * provide ELF manipulation to implement modinfo
15
16 * Add functions to dump configuration
17
18 * Add functions list all modules known by modules.dep
19
20 * provide 1:1 compatibility with module-init-tools's modprobe
21 - show modversions (needs elf manipulation)
22 - dump configuration
23
24 * provide modules.archive, a cache file with all modules compressed
25 and a fast access. It's like a tar.gz, but with each entry
26 compressed as opposed to the whole tar compressed, easy to pick
27 individual entries, that is, more like .gz.tar. As zlib compression
28 does not store the uncompressed file size, this could provide
29 it. The file format should be something like:
30 MAGIC-ID
31 DIRECTORY-ENTRY-SIZE
32 DIRECTORY (hash-like format, points to file offset and size)
33 ENTRIES (each is a compressed module)
34 Helper binary to:
35 kmod-archive list
36 kmod-archive add path.ko
37 kmod-archive rm path.ko
38 kmod-archive get path.ko
39 kmod-archive exists path.ko
40
41 Known Bugs:
42 ===========
43
44
45 Notes for future development:
46 =============================
47
48 * Kill support for /etc/modprobe.conf
49
50 * Kill support for map files
51
52 Things to be added removed in kernel (check what is really needed):
53 ===================================================================
54
55 * list of currently loaded modules
56
57 * module's size should be available under /sys
58
59 * kill /proc/modules ?