2011-12-13 01:41:38 +07:00
|
|
|
kmod - Linux kernel module handling
|
2011-12-03 06:05:38 +07:00
|
|
|
|
|
|
|
OVERVIEW
|
|
|
|
========
|
|
|
|
|
2011-12-13 01:41:38 +07:00
|
|
|
kmod is a set of tools to handle common tasks with Linux kernel modules like
|
|
|
|
insert, remove, list, check properties, resolve dependencies and aliases.
|
2011-12-03 06:05:38 +07:00
|
|
|
|
2011-12-13 01:41:38 +07:00
|
|
|
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.
|
2012-01-09 22:15:46 +07:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-01-13 03:31:10 +07:00
|
|
|
Hacking
|
|
|
|
=======
|
|
|
|
|
|
|
|
Run 'bootstrap' script before configure. If you want to accept the recommended
|
|
|
|
flags, you just need to run 'bootstrap-configure'.
|
|
|
|
|
2012-03-22 08:26:03 +07:00
|
|
|
Make sure to read the CODING-STYLE file and the other READMEs: libkmod/README
|
|
|
|
and testsuite/README.
|
2012-01-13 03:31:10 +07:00
|
|
|
|
2012-01-09 22:15:46 +07:00
|
|
|
Information
|
|
|
|
===========
|
|
|
|
|
2012-01-23 21:29:38 +07:00
|
|
|
Signed packages:
|
2012-02-24 10:58:20 +07:00
|
|
|
http://www.kernel.org/pub/linux/utils/kernel/kmod/
|
2012-01-23 21:29:38 +07:00
|
|
|
|
2012-01-09 22:15:46 +07:00
|
|
|
Mailing list:
|
|
|
|
linux-modules@vger.kernel.org
|
|
|
|
|
2012-02-24 10:58:20 +07:00
|
|
|
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
|