[deployment-guide/comm-rel: 294/727] Minor corrections in the Loading a Module section.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 12:49:19 UTC 2010


commit 8b9a992833ad00a6985ecb6225f2dabca21c6d22
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Mon Aug 9 17:47:38 2010 +0200

    Minor corrections in the Loading a Module section.

 en-US/Working_with_Kernel_Modules.xml |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/en-US/Working_with_Kernel_Modules.xml b/en-US/Working_with_Kernel_Modules.xml
index ecb798b..7fecf45 100644
--- a/en-US/Working_with_Kernel_Modules.xml
+++ b/en-US/Working_with_Kernel_Modules.xml
@@ -131,7 +131,7 @@ dm_mod                 73839  8 dm_mirror,dm_log</screen>
       <para>To load a kernel module, use the <command>modprobe</command> command in the following form:</para>
       <screen><command>/sbin/modprobe <replaceable>&lt;module&gt;</replaceable></command></screen>
       <para>For example, to load the <systemitem class="resource">wacom</systemitem> module, type:</para>
-      <screen>~]#&#160;<command>modprobe wacom</command></screen>
+      <screen>~]#&#160;<command>/sbin/modprobe wacom</command></screen>
       <para>By default, <command>modprobe</command> attempts to load the module from <filename class="directory">/lib/modules/<replaceable>&lt;kernel-version&gt;</replaceable>/kernel/drivers/</filename>. In this directory, each type of module has its own subdirectory, such as <filename class="directory">net/</filename> for network interface drivers.</para>
       <para>Some kernel modules have module dependencies, which means that other modules must be loaded first for them to load successfully. The <command>modprobe</command> command checks for these dependencies, and loads the required modules automatically so that you do not have to resolve the dependencies manually. This way, typing the <command>/sbin/modprobe e100</command> command first loads all dependencies of <systemitem class="resource">e100</systemitem>, and then the module itself.</para>
       <para>To display all commands as <command>modprobe</command> executes them, use the <option>-v</option> option. For example:</para>
@@ -146,9 +146,7 @@ insmod /lib/modules/2.6.32-54.el6.i686/kernel/drivers/net/e100.ko</screen>
       </indexterm>
       <important>
         <title>Important: Do Not Use <command>insmod</command> Directly</title>
-        <para>
-          Although the <command>/sbin/insmod</command> command can also be used to load kernel modules, it does not resolve dependencies. Because of this, you should always use <command>modprobe</command> instead.
-        </para>
+        <para>Although the <command>/sbin/insmod</command> command can also be used to load kernel modules, it does not resolve dependencies. Because of this, you should always use <command>modprobe</command> instead.</para>
       </important>
     </section>
     <section


More information about the docs-commits mailing list