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
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.
11 * create test-mock library to be LD_PRELOAD'ed before running the binaries
12 so we're able to create unit tests
14 * Add functions to dump configuration
16 * Add functions list all modules known by modules.dep
18 * provide 1:1 compatibility with module-init-tools's modprobe
21 * provide modules.archive, a cache file with all modules compressed
22 and a fast access. It's like a tar.gz, but with each entry
23 compressed as opposed to the whole tar compressed, easy to pick
24 individual entries, that is, more like .gz.tar. As zlib compression
25 does not store the uncompressed file size, this could provide
26 it. The file format should be something like:
29 DIRECTORY (hash-like format, points to file offset and size)
30 ENTRIES (each is a compressed module)
33 kmod-archive add path.ko
34 kmod-archive rm path.ko
35 kmod-archive get path.ko
36 kmod-archive exists path.ko
42 Notes for future development:
43 =============================
45 * Kill support for /etc/modprobe.conf
47 * Kill support for map files
49 Things to be added removed in kernel (check what is really needed):
50 ===================================================================
52 * list of currently loaded modules
54 * module's size should be available under /sys
56 * kill /proc/modules ?