6.47. Module-Init-Tools-3.2.2

The Module-Init-Tools package contains programs for handling kernel modules in Linux kernels greater than or equal to version 2.5.47.

Approximate build time: 0.3 SBU
Required disk space: 3.3 MB
Installation depends on: Bash, Binutils, Bison, Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed, and Zlib

6.47.1. Installation of Module-Init-Tools

Issue the following commands to perform the tests (note that the make distclean command is required to clean up the source tree, as the source gets recompiled as part of the testing process):

./configure &&
make check &&
make distclean

Prepare Module-Init-Tools for compilation:

./configure --prefix=/ --enable-zlib

Compile the package:

make

Install the package:

make install

6.47.2. Contents of Module-Init-Tools

Installed programs: depmod, generate-modprobe.conf, insmod, insmod.static, lsmod, modinfo, modprobe, and rmmod

Short Descriptions

depmod

Creates a dependency file based on the symbols it finds in the existing set of modules; this dependency file is used by modprobe to automatically load the required modules

generate-modprobe.conf

Creates a modprobe.conf file from an existing 2.2 or 2.4 module setup

insmod

Installs a loadable module in the running kernel

insmod.static

A statically compiled version of insmod

lsmod

Lists currently loaded modules

modinfo

Examines an object file associated with a kernel module and displays any information that it can glean

modprobe

Uses a dependency file, created by depmod, to automatically load relevant modules

rmmod

Unloads modules from the running kernel