mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-12-26 21:35:26 +07:00
kmod - Linux kernel module handling
a4fb97a71e
Before: ======= [lucas@vader kmod]$ sudo depmod [lucas@vader kmod]$ echo $? 0 [lucas@vader kmod]$ ls -l /lib/modules/$(uname -r) total 12 drwxr-xr-x 8 root root 160 Jun 13 11:05 kernel -rw-r--r-- 1 root root 12288 Jun 15 21:29 modules.alias -rw-r--r-- 1 root root 0 Jun 15 21:29 modules.alias.bin -rw-r--r-- 1 root root 0 Jun 15 21:29 modules.dep -rw-r--r-- 1 root root 0 Jun 15 21:29 modules.dep.bin -rw-r--r-- 1 root root 0 Jun 15 21:29 modules.devname -rw-r--r-- 1 root root 0 Jun 15 21:29 modules.softdep -rw-r--r-- 1 root root 0 Jun 15 21:29 modules.symbols -rw-r--r-- 1 root root 0 Jun 15 21:29 modules.symbols.bin Note that modules.alias is truncated and the other have size == 0 After: ====== [lucas@vader kmod]$ sudo ./tools/depmod WARNING: could not open /lib/modules/3.5.0-rc2-demarchi-00028-g94fa83c/modules.order: No such file or directory ERROR: Could not create index: output truncated: No space left on device [lucas@vader kmod]$ echo $? 1 |
||
---|---|---|
libkmod | ||
m4 | ||
man | ||
test | ||
testsuite | ||
tools | ||
.gitignore | ||
autogen.sh | ||
bootstrap | ||
bootstrap-configure | ||
CODING-STYLE | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
NEWS | ||
README | ||
TODO |
kmod - Linux kernel module handling OVERVIEW ======== kmod is a set of tools to handle common tasks with Linux kernel modules like insert, remove, list, check properties, resolve dependencies and aliases. These tools are designed on top of libkmod, a library that is shipped with kmod. See libkmod/README for more details on this library and how to use it. The aim is to be compatible with tools, configurations and indexes from module-init-tools project. Compilation and installation ============================ In order to compiler the source code you need following software packages: - GCC compiler - GNU C library Optional dependencies: - ZLIB library - LZMA library Typical configuration: ./configure CFLAGS="-g -O2" --prefix=/usr \ --sysconfdir=/etc --libdir=/usr/lib Configure automatically searches for all required components and packages. To compile and install run: make && make install Hacking ======= Run 'bootstrap' script before configure. If you want to accept the recommended flags, you just need to run 'bootstrap-configure'. Make sure to read the CODING-STYLE file and the other READMEs: libkmod/README and testsuite/README. Information =========== Signed packages: http://www.kernel.org/pub/linux/utils/kernel/kmod/ Mailing list: linux-modules@vger.kernel.org Git: git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git http://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git Gitweb: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git Irc: #kmod on irc.freenode.org