blob: d23a4d8dbb0f55662acdf334f36020b730c70bb6 [file] [log] [blame]
Lucas De Marchibf89f762011-12-01 18:23:47 -02001Features:
Lucas De Marchi5e690c52011-12-16 02:02:58 -02002=========
Lucas De Marchibf89f762011-12-01 18:23:47 -02003
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 Marchic3325cf2011-12-02 14:49:57 -02008* 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 Barbieric3d0a5f2011-12-11 19:36:18 -020011* create test-mock library to be LD_PRELOAD'ed before running the binaries
Gustavo Sverzut Barbieri7fe602b2011-12-10 13:32:27 -020012 so we're able to create unit tests
Gustavo Sverzut Barbieric3d0a5f2011-12-11 19:36:18 -020013
Lucas De Marchid68ea2a2011-12-14 14:02:28 -020014* Add functions to dump configuration
15
16* Add functions list all modules known by modules.dep
17
Lucas De Marchid68ea2a2011-12-14 14:02:28 -020018* provide 1:1 compatibility with module-init-tools's modprobe
Lucas De Marchid68ea2a2011-12-14 14:02:28 -020019 - dump configuration
Lucas De Marchid68ea2a2011-12-14 14:02:28 -020020
Gustavo Sverzut Barbierif841e632011-12-19 11:37:08 -020021* 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:
27 MAGIC-ID
28 DIRECTORY-ENTRY-SIZE
29 DIRECTORY (hash-like format, points to file offset and size)
30 ENTRIES (each is a compressed module)
31 Helper binary to:
32 kmod-archive list
33 kmod-archive add path.ko
34 kmod-archive rm path.ko
35 kmod-archive get path.ko
36 kmod-archive exists path.ko
37
Lucas De Marchi5e690c52011-12-16 02:02:58 -020038Known Bugs:
39===========
40
Lucas De Marchi5e690c52011-12-16 02:02:58 -020041
42Notes for future development:
43=============================
44
45* Kill support for /etc/modprobe.conf
46
47* Kill support for map files
48
49Things to be added removed in kernel (check what is really needed):
50===================================================================
51
52* list of currently loaded modules
53
54* module's size should be available under /sys
55
56* kill /proc/modules ?