]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
TODO: add idea about single file with all compressed modules.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Mon, 19 Dec 2011 13:37:08 +0000 (11:37 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 19 Dec 2011 14:34:37 +0000 (12:34 -0200)
TODO

diff --git a/TODO b/TODO
index ae01a29d11aed7fa3959797c43cb6ac9d4ddc030..e6451af9733e87c73014243fc776d52a89ed569f 100644 (file)
--- a/TODO
+++ b/TODO
@@ -21,6 +21,23 @@ Features:
    - show modversions (needs elf manipulation)
    - dump configuration
 
+* provide modules.archive, a cache file with all modules compressed
+  and a fast access. It's like a tar.gz, but with each entry
+  compressed as opposed to the whole tar compressed, easy to pick
+  individual entries, that is, more like .gz.tar. As zlib compression
+  does not store the uncompressed file size, this could provide
+  it. The file format should be something like:
+     MAGIC-ID
+     DIRECTORY-ENTRY-SIZE
+     DIRECTORY (hash-like format, points to file offset and size)
+     ENTRIES (each is a compressed module)
+  Helper binary to:
+     kmod-archive list
+     kmod-archive add path.ko
+     kmod-archive rm path.ko
+     kmod-archive get path.ko
+     kmod-archive exists path.ko
+
 Known Bugs:
 ===========