aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/module-init-tools.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/module-init-tools.xml')
-rw-r--r--chapter06/module-init-tools.xml96
1 files changed, 74 insertions, 22 deletions
diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml
index 150d93dfb..cb3191236 100644
--- a/chapter06/module-init-tools.xml
+++ b/chapter06/module-init-tools.xml
@@ -47,59 +47,111 @@ Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed</seg></seglistitem>
</sect2>
-<sect2 id="contents-module-init-tools"><title>Contents of Module-Init-Tools</title>
+<sect2 id="contents-module-init-tools" role="content"><title>Contents of Module-Init-Tools</title>
-<para><emphasis>Installed programs</emphasis>: depmod, genksyms, insmod,
+<segmentedlist>
+<segtitle>Installed programs</segtitle>
+<seglistitem><seg>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>
-
+and rmmod (link to insmod)</seg></seglistitem>
+</segmentedlist>
-<sect2><title>Short descriptions</title>
+<variablelist><title>Short descriptions</title>
+<varlistentry>
+<term id="depmod"><command>depmod</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools depmod"><primary sortas="b-depmod">depmod</primary></indexterm>
-<para id="depmod"><command>depmod</command> creates a dependency file, based on the
+<para>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>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="genksyms"><command>genksyms</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools genksyms"><primary sortas="b-genksyms">genksyms</primary></indexterm>
-<para id="genksyms"><command>genksyms</command> generates symbol version information.</para>
+<para>generates symbol version information.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="insmod"><command>insmod</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools insmod"><primary sortas="b-insmod">insmod</primary></indexterm>
-<para id="insmod"><command>insmod</command> installs a loadable module in the running kernel.</para>
+<para>installs a loadable module in the running kernel.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="insmod_ksymoops_clean"><command>insmod_ksymoops_clean</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools 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>
+<para>deletes saved ksyms and modules not accessed for two days.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="kallsyms"><command>kallsyms</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools kallsyms"><primary sortas="b-kallsyms">kallsyms</primary></indexterm>
-<para id="kallsyms"><command>kallsyms</command> extracts all kernel symbols for debugging.</para>
+<para>extracts all kernel symbols for debugging.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="kernelversion"><command>kernelversion</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools kernelversion"><primary sortas="b-kernelversion">kernelversion</primary></indexterm>
-<para id="kernelversion"><command>kernelversion</command> reports the major version of the
-running kernel.</para>
+<para>reports the major version of the running kernel.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="ksyms"><command>ksyms</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools ksyms"><primary sortas="b-ksyms">ksyms</primary></indexterm>
-<para id="ksyms"><command>ksyms</command> displays exported kernel symbols.</para>
+<para>displays exported kernel symbols.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="lsmod"><command>lsmod</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools lsmod"><primary sortas="b-lsmod">lsmod</primary></indexterm>
-<para id="lsmod"><command>lsmod</command> shows which modules are loaded.</para>
+<para>shows which modules are loaded.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="modinfo"><command>modinfo</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools modinfo"><primary sortas="b-modinfo">modinfo</primary></indexterm>
-<para id="modinfo"><command>modinfo</command> examines an object file associated with
+<para>examines an object file associated with
a kernel module and displays any information that it can glean.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="modprobe"><command>modprobe</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools modprobe"><primary sortas="b-modprobe">modprobe</primary></indexterm>
-<para id="modprobe"><command>modprobe</command> uses a dependency file, created by
+<para>uses a dependency file, created by
depmod, to automatically load the relevant modules.</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term id="rmmod"><command>rmmod</command></term>
+<listitem>
<indexterm zone="ch-system-module-init-tools rmmod"><primary sortas="b-rmmod">rmmod</primary></indexterm>
-<para id="rmmod"><command>rmmod</command> unloads modules from the running kernel.</para>
+<para>unloads modules from the running kernel.</para>
+</listitem>
+</varlistentry>
+</variablelist>
</sect2>
-
-
</sect1>