diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
commit | 673b0d84ba9591e07c0bdf0ee49d92eba10f502c (patch) | |
tree | 129e27a1450727b440da4378e0117a468eb9c25e /chapter06/modutils.xml | |
parent | 287ea55da70ceb1f0990554b7db921d525fef816 (diff) |
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/modutils.xml')
-rw-r--r-- | chapter06/modutils.xml | 81 |
1 files changed, 70 insertions, 11 deletions
diff --git a/chapter06/modutils.xml b/chapter06/modutils.xml index 1f7c0fdbe..829dc4739 100644 --- a/chapter06/modutils.xml +++ b/chapter06/modutils.xml @@ -1,16 +1,23 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> <sect1 id="ch-system-modutils" xreflabel="Modutils"> -<title>Installing Modutils-&modutils-version;</title> -<?dbhtml filename="modutils.html" dir="chapter06"?> +<title>Modutils-&modutils-version;</title> +<?dbhtml filename="modutils.html"?> + +<indexterm zone="ch-system-modutils"><primary sortas="a-Modutils">Modutils</primary></indexterm> <para>The Modutils package contains programs for handling kernel modules.</para> -<screen>&buildtime; &modutils-time; -&diskspace; &modutils-compsize;</screen> +<screen>&buildtime; 0.1 SBU +&buildtime; 2.9 MB</screen> + +<para>Modutils installation depends on: Bash, Binutils, Bison, Coreutils, +Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed.</para> -&aa-modutils-down; -&aa-modutils-dep; -<sect2><title> </title><para> </para></sect2> <sect2> <title>Installation of Modutils</title> @@ -23,14 +30,66 @@ <screen><userinput>make</userinput></screen> -<para>And install it:</para> +<para>Install it:</para> <screen><userinput>make install</userinput></screen> </sect2> -&aa-modutils-shortdesc; -&aa-modutils-desc; -</sect1> +<sect2 id="contents-modutils"><title>Contents of Modutils</title> + +<para><emphasis>Installed programs</emphasis>: 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)</para> + +</sect2> + + +<sect2><title>Short descriptions</title> + +<indexterm zone="ch-system-modutils depmod"><primary sortas="b-depmod">depmod</primary></indexterm> +<para id="depmod"><command>depmod</command> 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.</para> + +<indexterm zone="ch-system-modutils genksyms"><primary sortas="b-genksyms">genksyms</primary></indexterm> +<para id="genksyms"><command>genksyms</command> generates symbol version information.</para> + +<indexterm zone="ch-system-modutils insmod"><primary sortas="b-insmod">insmod</primary></indexterm> +<para id="insmod"><command>insmod</command> installs a loadable module in the running kernel.</para> + +<indexterm zone="ch-system-modutils insmod_ksymoops_clean"><primary sortas="b-insmod_ksymoops_clean">insmod_ksymoops_clean</primary></indexterm> +<para id="insmod_ksymoops_clean"><command>insmod_ksymoops_clean</command> deletes saved ksyms and +modules not accessed for two days.</para> +<indexterm zone="ch-system-modutils kallsyms"><primary sortas="b-kallsyms">kallsyms</primary></indexterm> +<para id="kallsyms"><command>kallsyms</command> extracts all kernel symbols for debugging.</para> + +<indexterm zone="ch-system-modutils kernelversion"><primary sortas="b-kernelversion">kernelversion</primary></indexterm> +<para id="kernelversion"><command>kernelversion</command> reports the major version of the +running kernel.</para> + +<indexterm zone="ch-system-modutils ksyms"><primary sortas="b-ksyms">ksyms</primary></indexterm> +<para id="ksyms"><command>ksyms</command> displays exported kernel symbols.</para> + +<indexterm zone="ch-system-modutils lsmod"><primary sortas="b-lsmod">lsmod</primary></indexterm> +<para id="lsmod"><command>lsmod</command> shows which modules are loaded.</para> + +<indexterm zone="ch-system-modutils modinfo"><primary sortas="b-modinfo">modinfo</primary></indexterm> +<para id="modinfo"><command>modinfo</command> examines an object file associated with +a kernel module and displays any information that it can glean.</para> + +<indexterm zone="ch-system-modutils modprobe"><primary sortas="b-modprobe">modprobe</primary></indexterm> +<para id="modprobe"><command>modprobe</command> uses a dependency file, created by +depmod, to automatically load the relevant modules.</para> + +<indexterm zone="ch-system-modutils rmmod"><primary sortas="b-rmmod">rmmod</primary></indexterm> +<para id="rmmod"><command>rmmod</command> unloads modules from the running kernel.</para> + +</sect2> + + + +</sect1> |