Changeset 73ace20 for BOOK/final-system/common/kmod.xml
- Timestamp:
- Oct 10, 2012, 6:42:21 PM (12 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- f7b2c72
- Parents:
- 0cce40d (diff), 80cbd64 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/kmod.xml
r0cce40d r73ace20 6 6 ]> 7 7 8 <sect1 id="ch-system- module-init-tools" role="wrap">9 <?dbhtml filename=" module-init-tools.html"?>8 <sect1 id="ch-system-kmod" role="wrap"> 9 <?dbhtml filename="kmod.html"?> 10 10 11 <title> Module-Init-Tools-&module-init-tools-version;</title>11 <title>Kmod-&kmod-version;</title> 12 12 13 <indexterm zone="ch-system- module-init-tools">14 <primary sortas="a- Module-Init-Tools">Module-Init-Tools</primary>13 <indexterm zone="ch-system-kmod"> 14 <primary sortas="a-Kmod">Kmod</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 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> 20 <para>The Kmod package contains programs for loading, inserting 21 and removing kernel modules for Linux. Kmod replaces the 22 Module-Init-tools package.</para> 22 23 23 24 </sect2> 24 25 25 26 <sect2 role="installation"> 26 <title>Installation of Module-Init-Tools</title>27 <title>Installation of Kmod</title> 27 28 28 <para os=" c">Issue the following commands to perform the tests</para>29 <para os="a">Prepare Kmod for compilation:</para> 29 30 30 <screen os="d"><userinput>sed -i "s/\(make\)\( all\)/\1 DOCBOOKTOMAN=true\2/" tests/runtests && 31 ./tests/runtests</userinput></screen> 31 <screen os="b"><userinput>./configure --prefix=/usr \ 32 --bindir=/bin --sysconfdir=/etc \ 33 --with-rootlibdir=/lib \ 34 --with-zlib --with-xz</userinput></screen> 32 35 33 <para os="e">Prepare Module-Init-Tools for compilation:</para> 34 35 <screen os="f"><userinput>./configure --prefix=/usr \ 36 --bindir=/bin --sbindir=/sbin \ 37 --enable-zlib-dynamic</userinput></screen> 38 39 <variablelist os="g"> 36 <variablelist os="c"> 40 37 <title>The meaning of the configure option:</title> 41 38 42 39 <varlistentry> 43 <term><parameter>-- enable-zlib-dynamic</parameter></term>40 <term><parameter>--with-rootlibdir=/lib</parameter></term> 44 41 <listitem> 45 <para>This allows the Module-Init-Tools package to handle compressed 46 kernel modules.</para> 42 <para>Install location for shared libraries.</para> 43 </listitem> 44 </varlistentry> 45 46 <varlistentry> 47 <term><parameter>--with-zlib --with-xz</parameter></term> 48 <listitem> 49 <para>This allows the Kmod package to handle zlib and XZ 50 compressed kernel modules.</para> 47 51 </listitem> 48 52 </varlistentry> … … 50 54 </variablelist> 51 55 52 <para os=" h">Compile the package:</para>56 <para os="d">Compile the package:</para> 53 57 54 <screen os=" i"><userinput>make DOCBOOKTOMAN=true</userinput></screen>58 <screen os="e"><userinput>make</userinput></screen> 55 59 56 <para os=" j">Install the package:</para>60 <para os="f">To test the results, issue: <userinput>make check</userinput></para> 57 61 58 <screen os="k"><userinput>make install</userinput></screen>62 <para os="g">Install the package:</para> 59 63 64 <screen os="h"><userinput>make install</userinput></screen> 65 66 <para os="i">Create symbolic links for programs that expect Module-Init-Tools.</para> 67 68 <screen os="j"><userinput>ln -sv kmod /bin/lsmod 69 ln -sv ../bin/kmod /sbin/depmod 70 ln -sv ../bin/kmod /sbin/insmod 71 ln -sv ../bin/kmod /sbin/modprobe 72 ln -sv ../bin/kmod /sbin/modinfo 73 ln -sv ../bin/kmod /sbin/rmmod</userinput></screen> 74 60 75 </sect2> 61 76 62 <sect2 id="contents- module-init-tools" role="content">63 <title>Contents of Module-Init-Tools</title>77 <sect2 id="contents-kmod" role="content"> 78 <title>Contents of Kmod</title> 64 79 65 80 <segmentedlist> … … 67 82 68 83 <seglistitem> 69 <seg>depmod, insmod, insmod.static,lsmod, modinfo, modprobe, and84 <seg>depmod, insmod, lsmod, modinfo, modprobe, and 70 85 rmmod</seg> 71 86 </seglistitem> … … 84 99 <command>modprobe</command> to automatically load the required 85 100 modules</para> 86 <indexterm zone="ch-system- module-init-toolsdepmod">101 <indexterm zone="ch-system-kmod depmod"> 87 102 <primary sortas="b-depmod">depmod</primary> 88 103 </indexterm> … … 94 109 <listitem> 95 110 <para>Installs a loadable module in the running kernel</para> 96 <indexterm zone="ch-system- module-init-toolsinsmod">111 <indexterm zone="ch-system-kmod insmod"> 97 112 <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 113 </indexterm> 109 114 </listitem> … … 114 119 <listitem> 115 120 <para>Lists currently loaded modules</para> 116 <indexterm zone="ch-system- module-init-toolslsmod">121 <indexterm zone="ch-system-kmod lsmod"> 117 122 <primary sortas="b-lsmod">lsmod</primary> 118 123 </indexterm> … … 125 130 <para>Examines an object file associated with a kernel module and 126 131 displays any information that it can glean</para> 127 <indexterm zone="ch-system- module-init-toolsmodinfo">132 <indexterm zone="ch-system-kmod modinfo"> 128 133 <primary sortas="b-modinfo">modinfo</primary> 129 134 </indexterm> … … 136 141 <para>Uses a dependency file, created by <command>depmod</command>, 137 142 to automatically load relevant modules</para> 138 <indexterm zone="ch-system- module-init-toolsmodprobe">143 <indexterm zone="ch-system-kmod modprobe"> 139 144 <primary sortas="b-modprobe">modprobe</primary> 140 145 </indexterm> … … 146 151 <listitem> 147 152 <para>Unloads modules from the running kernel</para> 148 <indexterm zone="ch-system- module-init-toolsrmmod">153 <indexterm zone="ch-system-kmod rmmod"> 149 154 <primary sortas="b-rmmod">rmmod</primary> 150 155 </indexterm>
Note: See TracChangeset
for help on using the changeset viewer.