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

Last change on this file since ef88672 was cfaf68c, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Port configure command from trunk for module-init-tools.
Port the groups man page sed from trunk for shadow.

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