]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
README: Move items from TODO
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 17 Jul 2013 05:26:47 +0000 (02:26 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 17 Jul 2013 05:31:27 +0000 (02:31 -0300)
Put the differences between kmod and module-init-tools in the README
file so it's more visible.

README
TODO
libkmod/README

diff --git a/README b/README
index 65499cc09287e22e90a81f6b37d7725f995266d4..a2a2a5c4a726c48fc2cfa7017463103b174b8d43 100644 (file)
--- a/README
+++ b/README
@@ -59,3 +59,60 @@ Gitweb:
 
 Irc:
        #kmod on irc.freenode.org
+
+Compatibility with module-init-tools
+====================================
+
+kmod replaces module-init-tools, which is end-of-life. Most of its tools are
+rewritten on top of libkmod so it can be used as a drop in replacements.
+Somethings however were changed. Reasons vary from "the feature was already
+long deprecated on module-init-tools" to "it would be too much trouble to
+support it".
+
+There are several features that are being added in kmod, but we don't
+keep track of them here.
+
+modprobe
+--------
+
+* 'modprobe -l' was marked as deprecated and does not exist anymore
+
+* 'modprobe -t' is gone, together with 'modprobe -l'
+
+* modprobe doesn't parse configuration files with names not ending in
+  '.alias' or '.conf'. modprobe used to warn about these files.
+
+* modprobe doesn't parse 'config' and 'include' commands in configuration
+  files.
+
+* modprobe from m-i-t does not honour softdeps for install commands. E.g.:
+  config:
+
+        install bli "echo bli"
+       install bla "echo bla"
+       softdep bla pre: bli
+
+  With m-i-t, the output of 'modprobe --show-depends bla' will be:
+        install "echo bla"
+
+  While with kmod:
+        install "echo bli"
+        install "echo bla"
+
+* kmod doesn't dump the configuration as is in the config files. Instead it
+  dumps the configuration as it was parsed. Therefore, comments and file names
+  are not dumped, but on the good side we know what the exact configuration
+  kmod is using. We did this because if we only want to know the entire content
+  of configuration files, it's enough to use find(1) in modprobe.d directories
+
+depmod
+------
+
+* there's no 'depmod -m' option: legacy modules.*map files are gone
+
+lsmod
+-----
+
+* module-init-tools used /proc/modules to parse module info. kmod uses
+  /sys/module/*, but there's a fallback to /proc/modules if the latter isn't
+  available
diff --git a/TODO b/TODO
index e3f81d144a91033967440335b1e73a3d4e967889..50e7483756dfb8314798b4ed3881daca8b612371 100644 (file)
--- a/TODO
+++ b/TODO
@@ -47,54 +47,3 @@ Things to be added/removed in kernel (check what is really needed):
 
 * kill /proc/modules ?
        - Unlikely, given other tools might depend on it
-
-
-
-Things that are different from module-init-tools on purpose (!TODO)
-===================================================================
-
-modprobe
---------
-
-* 'modprobe -l' was marked as deprecated and does not exist anymore
-
-* 'modprobe -t' is gone, together with 'modprobe -l'
-
-* there's and additional '--remove-dependencies' flags to modprobe so we
-  can remove modules depending on that one
-
-* modprobe doesn't parse configuration files with names not ending in
-  '.alias' or '.conf'. modprobe used to warn about these files.
-
-* modprobe doesn't parse 'config' and 'include' commands in configuration
-  files.
-
-* modprobe from m-i-t does not honour softdeps for install commands. E.g.:
-  config:
-
-        install bli "echo bli"
-       install bla "echo bla"
-       softdep bla pre: bli
-
-  With m-i-t, the output of 'modprobe --show-depends bla' will be:
-        install "echo bla"
-
-  While with kmod:
-        install "echo bli"
-        install "echo bla"
-
-* kmod doesn't dump the configuration as is in the config files. Instead it
-  dumps the configuration as it was parsed. Therefore, comments and file names
-  are not dumped, but on the good side we know what the exact configuration
-  kmod is using. We did this because if we only want to know the entire content
-  of configuration files, it's enough to use find(1) in modprobe.d directories
-
-depmod
-------
-
-* there's no 'depmod -m' option: legacy modules.*map files are gone
-
-lsmod
------
-
-* information is parsed from /sys instead of /proc/modules
index d0ca2fcee1935ef491291bb7730ea8dd2a2367cd..3e1c8dcdc98c07f70615942355d16d010dc8c772 100644 (file)
@@ -20,7 +20,7 @@ Every user should create and manage it's own library context with:
    kmod_unref(ctx);
 
 
-Modules can be created with by various means:
+Modules can be created by various means:
 
    struct kmod_module *mod;
    int err;