source: chapter06/module-init-tools.xml@ 9cdcfb1

Last change on this file since 9cdcfb1 was 9cdcfb1, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Merged r7489 from trunk to udev_update branch.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/udev_update/BOOK@7492 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 5.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 <segmentedlist>
24 <segtitle>&buildtime;</segtitle>
25 <segtitle>&diskspace;</segtitle>
26
27 <seglistitem>
28 <seg>0.3 SBU</seg>
29 <seg>3.3 MB</seg>
30 </seglistitem>
31 </segmentedlist>
32
33 <segmentedlist>
34 <segtitle>&dependencies;</segtitle>
35
36 <seglistitem>
37 <seg>Bash, Binutils, Bison, Coreutils, Diffutils, Flex, GCC, Glibc,
38 Grep, M4, Make, Sed, and Zlib</seg>
39 </seglistitem>
40 </segmentedlist>
41
42 </sect2>
43
44 <sect2 role="installation">
45 <title>Installation of Module-Init-Tools</title>
46
47 <para>Issue the following commands to perform the tests (note that the
48 <command>make distclean</command> command is required to clean up the source
49 tree, as the source gets recompiled as part of the testing process):</para>
50
51<screen><userinput>./configure &amp;&amp;
52make check &amp;&amp;
53make distclean</userinput></screen>
54
55 <para>Prepare Module-Init-Tools for compilation:</para>
56
57<screen><userinput>./configure --prefix=/ --enable-zlib</userinput></screen>
58
59 <para>Compile the package:</para>
60
61<screen><userinput>make</userinput></screen>
62
63 <para>Install the package:</para>
64
65<screen><userinput>make install</userinput></screen>
66
67 </sect2>
68
69 <sect2 id="contents-module-init-tools" role="content">
70 <title>Contents of Module-Init-Tools</title>
71
72 <segmentedlist>
73 <segtitle>Installed programs</segtitle>
74
75 <seglistitem>
76 <seg>depmod, generate-modprobe.conf, insmod, insmod.static, lsmod,
77 modinfo, modprobe, and rmmod</seg>
78 </seglistitem>
79 </segmentedlist>
80
81 <variablelist>
82 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
83 <?dbfo list-presentation="list"?>
84 <?dbhtml list-presentation="table"?>
85
86 <varlistentry id="depmod">
87 <term><command>depmod</command></term>
88 <listitem>
89 <para>Creates a dependency file based on the symbols it finds in the
90 existing set of modules; this dependency file is used by
91 <command>modprobe</command> to automatically load the required
92 modules</para>
93 <indexterm zone="ch-system-module-init-tools depmod">
94 <primary sortas="b-depmod">depmod</primary>
95 </indexterm>
96 </listitem>
97 </varlistentry>
98
99 <varlistentry id="generate-modprobe.conf">
100 <term><command>generate-modprobe.conf</command></term>
101 <listitem>
102 <para>Creates a modprobe.conf file from an existing 2.2 or 2.4 module
103 setup</para>
104 <indexterm zone="ch-system-module-init-tools generate-modprobe.conf">
105 <primary sortas="b-generate-modprobe.conf">generate-modprobe.conf</primary>
106 </indexterm>
107 </listitem>
108 </varlistentry>
109
110 <varlistentry id="insmod">
111 <term><command>insmod</command></term>
112 <listitem>
113 <para>Installs a loadable module in the running kernel</para>
114 <indexterm zone="ch-system-module-init-tools insmod">
115 <primary sortas="b-insmod">insmod</primary>
116 </indexterm>
117 </listitem>
118 </varlistentry>
119
120 <varlistentry id="insmod.static">
121 <term><command>insmod.static</command></term>
122 <listitem>
123 <para>A statically compiled version of <command>insmod</command></para>
124 <indexterm zone="ch-system-module-init-tools insmod.static">
125 <primary sortas="b-insmod.static">insmod.static</primary>
126 </indexterm>
127 </listitem>
128 </varlistentry>
129
130 <varlistentry id="lsmod">
131 <term><command>lsmod</command></term>
132 <listitem>
133 <para>Lists currently loaded modules</para>
134 <indexterm zone="ch-system-module-init-tools lsmod">
135 <primary sortas="b-lsmod">lsmod</primary>
136 </indexterm>
137 </listitem>
138 </varlistentry>
139
140 <varlistentry id="modinfo">
141 <term><command>modinfo</command></term>
142 <listitem>
143 <para>Examines an object file associated with a kernel module and
144 displays any information that it can glean</para>
145 <indexterm zone="ch-system-module-init-tools modinfo">
146 <primary sortas="b-modinfo">modinfo</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="modprobe">
152 <term><command>modprobe</command></term>
153 <listitem>
154 <para>Uses a dependency file, created by
155 <command>depmod</command>, to automatically load relevant modules</para>
156 <indexterm zone="ch-system-module-init-tools modprobe">
157 <primary sortas="b-modprobe">modprobe</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="rmmod">
163 <term><command>rmmod</command></term>
164 <listitem>
165 <para>Unloads modules from the running kernel</para>
166 <indexterm zone="ch-system-module-init-tools rmmod">
167 <primary sortas="b-rmmod">rmmod</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 </variablelist>
173
174 </sect2>
175
176</sect1>
Note: See TracBrowser for help on using the repository browser.