source: clfs-sysroot/BOOK/final-system/common/module-init-tools.xml@ b517233

Last change on this file since b517233 was 4631cd8, checked in by Joe Ciccone <jciccone@…>, 15 years ago

Module-Init-Tools no longer installs generate-modprobe.conf

  • Property mode set to 100644
File size: 5.5 KB
RevLine 
[02095ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c439b8a]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[02095ae]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
[12e6567]25 &env-target;
26
[02095ae]27 <sect2 role="installation">
28 <title>Installation of Module-Init-Tools</title>
29
30 <para os="a">Prepare Module-Init-Tools for compilation:</para>
31
[cee2ca2]32<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[cfaf68c]33 --prefix=/usr --bindir=/bin \
[1aa8026]34 --sbindir=/sbin --enable-zlib-dynamic</userinput></screen>
[02095ae]35
36 <variablelist os="c">
37 <title>The meaning of the configure options:</title>
38
39 <varlistentry>
[1aa8026]40 <term><parameter>--enable-zlib-dynamic</parameter></term>
[02095ae]41 <listitem>
42 <para>This allows the Module-Init-Tools package to handle compressed
43 kernel modules.</para>
44 </listitem>
45 </varlistentry>
46
47 </variablelist>
48
49 <para os="d">Compile the package:</para>
50
[1aa8026]51<screen os="e"><userinput>make DOCBOOKTOMAN=</userinput></screen>
[02095ae]52
53 <para os="f">Install the package:</para>
54
[586feb7]55<screen os="g"><userinput>make DESTDIR=${CLFS} INSTALL=install install</userinput></screen>
[82b662d]56
57 <variablelist os="h">
58 <title>The meaning of the make parameter:</title>
59 <varlistentry>
60 <term><parameter>INSTALL=install</parameter></term>
61 <listitem>
[14ab808]62 <para>Normally, <command>make install</command> will not install the
63 binaries if they already exist. This option overrides that behavior
64 by calling <command>install</command> instead of using the default
65 wrapper script.</para>
[82b662d]66 </listitem>
67 </varlistentry>
68 </variablelist>
[02095ae]69
70 </sect2>
71
72 <sect2 id="contents-module-init-tools" role="content">
73 <title>Contents of Module-Init-Tools</title>
74
75 <segmentedlist>
76 <segtitle>Installed programs</segtitle>
77
78 <seglistitem>
[4631cd8]79 <seg>depmod, insmod, insmod.static, lsmod (link to insmod), modinfo,
80 modprobe (link to insmod), and rmmod (link to insmod)</seg>
[02095ae]81 </seglistitem>
82 </segmentedlist>
83
84 <variablelist>
85 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
86 <?dbfo list-presentation="list"?>
87 <?dbhtml list-presentation="table"?>
88
89 <varlistentry id="depmod">
90 <term><command>depmod</command></term>
91 <listitem>
92 <para>Creates a dependency file based on the symbols it finds in
93 the existing set of modules; this dependency file is used by
94 <command>modprobe</command> to automatically load the required
95 modules</para>
96 <indexterm zone="ch-system-module-init-tools depmod">
97 <primary sortas="b-depmod">depmod</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry id="insmod">
103 <term><command>insmod</command></term>
104 <listitem>
105 <para>Installs a loadable module in the running kernel</para>
106 <indexterm zone="ch-system-module-init-tools insmod">
107 <primary sortas="b-insmod">insmod</primary>
108 </indexterm>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry id="insmod.static">
113 <term><command>insmod.static</command></term>
114 <listitem>
115 <para>A statically compiled version of <command>insmod</command></para>
116 <indexterm zone="ch-system-module-init-tools insmod.static">
117 <primary sortas="b-insmod.static">insmod.static</primary>
118 </indexterm>
119 </listitem>
120 </varlistentry>
121
122 <varlistentry id="lsmod">
123 <term><command>lsmod</command></term>
124 <listitem>
125 <para>Lists currently loaded modules</para>
126 <indexterm zone="ch-system-module-init-tools lsmod">
127 <primary sortas="b-lsmod">lsmod</primary>
128 </indexterm>
129 </listitem>
130 </varlistentry>
131
132 <varlistentry id="modinfo">
133 <term><command>modinfo</command></term>
134 <listitem>
135 <para>Examines an object file associated with a kernel module and
136 displays any information that it can glean</para>
137 <indexterm zone="ch-system-module-init-tools modinfo">
138 <primary sortas="b-modinfo">modinfo</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="modprobe">
144 <term><command>modprobe</command></term>
145 <listitem>
146 <para>Uses a dependency file, created by <command>depmod</command>,
147 to automatically load relevant modules</para>
148 <indexterm zone="ch-system-module-init-tools modprobe">
149 <primary sortas="b-modprobe">modprobe</primary>
150 </indexterm>
151 </listitem>
152 </varlistentry>
153
154 <varlistentry id="rmmod">
155 <term><command>rmmod</command></term>
156 <listitem>
157 <para>Unloads modules from the running kernel</para>
158 <indexterm zone="ch-system-module-init-tools rmmod">
159 <primary sortas="b-rmmod">rmmod</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163
164 </variablelist>
165
166 </sect2>
167
168</sect1>
Note: See TracBrowser for help on using the repository browser.