Linux From Scratch: Version 5.0-pre1
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.16.)

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

Modutils installs the following:

### Program Files

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)

##

## Descriptions

(Last checked against version 2.4.16.)

### Program file descriptions

#### depmod

depmod handles dependency descriptions for loadable kernel modules.

#### genksyms

genksyms reads (on standard input) the output from gcc -E source.c and generates a file containing version information.

#### insmod

insmod installs a loadable module in the running kernel.

#### insmod_ksymoops_clean

insmod_ksymoops_clean deletes saved ksyms and modules not accessed in 2 days.

#### kallsyms

kallsyms extracts all kernel symbols for debugging.

#### kernelversion

kernelversion reports the major version of the running kernel.

#### ksyms

ksyms displays exported kernel symbols.

#### lsmod

lsmod shows information about all loaded modules.

#### modinfo

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

#### modprobe

modprobe uses a Makefile-like dependency file, created by depmod, to automatically load the relevant module(s) from the set of modules available in predefined directory trees.

#### rmmod

rmmod unloads loadable 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, cpp0, gcc
Grep: egrep, grep
Make: make
Sed: sed

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