source: BOOK/final-system/common/module-init-tools.xml@ 6b16126

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6b16126 was 75a2135, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated Module-Init-Tools to 3.12.

  • Property mode set to 100644
File size: 5.1 KB
RevLine 
[7f2a588]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-module-init-tools" role="wrap">
9 <?dbhtml filename="module-init-tools.html"?>
10
11 <title>Module-Init-Tools-&module-init-tools-version;</title>
12
13 <indexterm zone="ch-system-module-init-tools">
14 <primary sortas="a-Module-Init-Tools">Module-Init-Tools</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Module-Init-Tools package contains programs for handling kernel
21 modules in Linux kernels greater than or equal to version 2.5.47.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Module-Init-Tools</title>
27
[c4534a5]28 <para os="c">Issue the following commands to perform the tests</para>
29
[75a2135]30<screen os="d"><userinput>sed -i "s/\(make\)\( all\)/\1 DOCBOOKTOMAN=true\2/" tests/runtests &amp;&amp;
31./tests/runtests</userinput></screen>
[c999585]32
[e0e40d3]33 <para os="e">Prepare Module-Init-Tools for compilation:</para>
[3f8be484]34
[f4cc1c2]35<screen os="f"><userinput>./configure --prefix=/usr \
[1e58202]36 --bindir=/bin --sbindir=/sbin \
[e60a7f6]37 --enable-zlib-dynamic</userinput></screen>
[3f8be484]38
[e0e40d3]39 <variablelist os="g">
[da0b4a3]40 <title>The meaning of the configure option:</title>
[3f8be484]41
42 <varlistentry>
[e60a7f6]43 <term><parameter>--enable-zlib-dynamic</parameter></term>
[3f8be484]44 <listitem>
45 <para>This allows the Module-Init-Tools package to handle compressed
46 kernel modules.</para>
47 </listitem>
48 </varlistentry>
49
50 </variablelist>
51
[e0e40d3]52 <para os="h">Compile the package:</para>
[3f8be484]53
[75a2135]54<screen os="i"><userinput>make DOCBOOKTOMAN=true</userinput></screen>
[c6c6c35]55
[e0e40d3]56 <para os="j">Install the package:</para>
[3f8be484]57
[75a2135]58<screen os="k"><userinput>make install</userinput></screen>
[e69b20a]59
[3f8be484]60 </sect2>
61
62 <sect2 id="contents-module-init-tools" role="content">
63 <title>Contents of Module-Init-Tools</title>
64
65 <segmentedlist>
66 <segtitle>Installed programs</segtitle>
67
68 <seglistitem>
[188b6b2]69 <seg>depmod, insmod, insmod.static, lsmod, modinfo, modprobe, and
70 rmmod</seg>
[3f8be484]71 </seglistitem>
72 </segmentedlist>
73
74 <variablelist>
75 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
76 <?dbfo list-presentation="list"?>
77 <?dbhtml list-presentation="table"?>
78
79 <varlistentry id="depmod">
80 <term><command>depmod</command></term>
81 <listitem>
82 <para>Creates a dependency file based on the symbols it finds in
83 the existing set of modules; this dependency file is used by
84 <command>modprobe</command> to automatically load the required
85 modules</para>
86 <indexterm zone="ch-system-module-init-tools depmod">
87 <primary sortas="b-depmod">depmod</primary>
88 </indexterm>
89 </listitem>
90 </varlistentry>
91
92 <varlistentry id="insmod">
93 <term><command>insmod</command></term>
94 <listitem>
95 <para>Installs a loadable module in the running kernel</para>
96 <indexterm zone="ch-system-module-init-tools insmod">
97 <primary sortas="b-insmod">insmod</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry id="insmod.static">
103 <term><command>insmod.static</command></term>
104 <listitem>
105 <para>A statically compiled version of <command>insmod</command></para>
106 <indexterm zone="ch-system-module-init-tools insmod.static">
107 <primary sortas="b-insmod.static">insmod.static</primary>
108 </indexterm>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry id="lsmod">
113 <term><command>lsmod</command></term>
114 <listitem>
115 <para>Lists currently loaded modules</para>
116 <indexterm zone="ch-system-module-init-tools lsmod">
117 <primary sortas="b-lsmod">lsmod</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry id="modinfo">
123 <term><command>modinfo</command></term>
124 <listitem>
125 <para>Examines an object file associated with a kernel module and
126 displays any information that it can glean</para>
127 <indexterm zone="ch-system-module-init-tools modinfo">
128 <primary sortas="b-modinfo">modinfo</primary>
129 </indexterm>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry id="modprobe">
134 <term><command>modprobe</command></term>
135 <listitem>
136 <para>Uses a dependency file, created by <command>depmod</command>,
137 to automatically load relevant modules</para>
138 <indexterm zone="ch-system-module-init-tools modprobe">
139 <primary sortas="b-modprobe">modprobe</primary>
140 </indexterm>
141 </listitem>
142 </varlistentry>
143
144 <varlistentry id="rmmod">
145 <term><command>rmmod</command></term>
146 <listitem>
147 <para>Unloads modules from the running kernel</para>
148 <indexterm zone="ch-system-module-init-tools rmmod">
149 <primary sortas="b-rmmod">rmmod</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 </variablelist>
155
156 </sect2>
157
158</sect1>
Note: See TracBrowser for help on using the repository browser.