Linux From Scratch: Version 5.0-pre3
Prev | Appendix A. Package descriptions and dependencies | Next

# Modutils

For installation instructions see the Section called Installing Modutils-2.4.25 in Chapter 6.

## Official Download Location

Modutils (2.4.25):
ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/

## Contents of Modutils

(Last checked against version 2.4.25.)

The Modutils package contains programs that you can use to work with kernel modules.

Installed programs: depmod, genksyms, insmod, insmod_ksymoops_clean, kallsyms (link to insmod), kernelversion, ksyms (link to insmod), lsmod (link to insmod), modinfo, modprobe (link to insmod) and rmmod (link to insmod)

##

## 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.

genksyms generates symbol version information.

insmod installs a loadable module in the running kernel.

insmod_ksymoops_clean deletes saved ksyms and modules not accessed for two days.

kallsyms extracts all kernel symbols for debugging.

kernelversion reports the major version of the running kernel.

ksyms displays exported kernel symbols.

lsmod shows which modules are loaded.

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 the relevant modules.

rmmod unloads modules from the running kernel.

##

## Modutils Installation Dependencies

(Last checked against version 2.4.12.)

Bash: sh
Binutils: ar, as, ld, ranlib, strip
Bison: bison
Coreutils: basename, cat, chmod, expr, hostname, install, ln,
mkdir, mv, rm, tr, uname
Diffutils: cmp
Flex: flex
GCC: cc, cc1, collect2, cpp, gcc
Grep: egrep, grep
Make: make
Sed: sed

Prev | Home | Next
Man-pages | Up | Ncurses