aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Masters <jcm@jonmasters.org>2010-03-10 01:12:24 -0500
committerJon Masters <jcm@jonmasters.org>2010-03-10 01:12:24 -0500
commita8e68daf16f87401b2abab9f306c944bbc01a7b8 (patch)
treeaf39f464f179ac6644ecc002b2563c469b152eac
parent4e746ea95820555bbe44348117cf7dec49bed376 (diff)
downloadmodule-init-tools-a8e68daf16f87401b2abab9f306c944bbc01a7b8.tar.gz
modprobe: fix the softdep docs and re-order the modprobe.conf man page
The softdep docs were great but I cleaned them up slightly, and I also added a warning to the new COMPATIBILITY section I had added recently. Also, re-order this file so that everything is in alphabetical order. Signed-off-by: Jon Masters <jcm@jonmasters.org>
-rw-r--r--doc/modprobe.conf.sgml65
1 files changed, 34 insertions, 31 deletions
diff --git a/doc/modprobe.conf.sgml b/doc/modprobe.conf.sgml
index b1e19fa..a9c3d36 100644
--- a/doc/modprobe.conf.sgml
+++ b/doc/modprobe.conf.sgml
@@ -18,7 +18,7 @@
<firstname>Jon</firstname>
<surname>Masters</surname>
</author>
- <date>2010-03-01</date>
+ <date>2010-03-09</date>
</refentryinfo>
<refmeta>
<refentrytitle>modprobe.conf</refentrytitle>
@@ -86,21 +86,18 @@
</listitem>
</varlistentry>
<varlistentry>
- <term>options <replaceable>modulename</replaceable> <replaceable>option...</replaceable>
+ <term>blacklist <replaceable>modulename</replaceable>
</term>
<listitem>
<para>
- This command allows you to add options to the module
- <replaceable>modulename</replaceable> (which might be an
- alias) every time it is inserted into the kernel: whether
- directly (using <command>modprobe</command>
- <replaceable>modulename</replaceable> or because the
- module being inserted depends on this module.
- </para>
- <para>
- All options are added together: they can come from an
- <command>option</command> for the module itself, for an
- alias, and on the command line.
+ Modules can contain their own aliases: usually these are
+ aliases describing the devices they support, such as
+ "pci:123...". These "internal" aliases can be overridden
+ by normal "alias" keywords, but there are cases where two
+ or more modules both support the same devices, or a module
+ invalidly claims to support a devicei that it does not: the
+ <command>blacklist</command> keyword indicates that all of
+ that particular module's internal aliases are to be ignored.
</para>
</listitem>
</varlistentry>
@@ -148,43 +145,47 @@
</listitem>
</varlistentry>
<varlistentry>
- <term>remove <replaceable>modulename</replaceable> <replaceable>command...</replaceable>
+ <term>options <replaceable>modulename</replaceable> <replaceable>option...</replaceable>
</term>
<listitem>
<para>
- This is similar to the <command>install</command> command
- above, except it is invoked when "modprobe -r" is run.
+ This command allows you to add options to the module
+ <replaceable>modulename</replaceable> (which might be an
+ alias) every time it is inserted into the kernel: whether
+ directly (using <command>modprobe</command>
+ <replaceable>modulename</replaceable> or because the
+ module being inserted depends on this module.
+ </para>
+ <para>
+ All options are added together: they can come from an
+ <command>option</command> for the module itself, for an
+ alias, and on the command line.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term>blacklist <replaceable>modulename</replaceable>
+ <term>remove <replaceable>modulename</replaceable> <replaceable>command...</replaceable>
</term>
<listitem>
<para>
- Modules can contain their own aliases: usually these are
- aliases describing the devices they support, such as
- "pci:123...". These "internal" aliases can be overridden
- by normal "alias" keywords, but there are cases where two
- or more modules both support the same devices, or a module
- invalidly claims to support a devicei that it does not: the
- <command>blacklist</command> keyword indicates that all of
- that particular module's internal aliases are to be ignored.
+ This is similar to the <command>install</command> command
+ above, except it is invoked when "modprobe -r" is run.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term>softdep <replaceable>modulename</replaceable> &#91;pre: <replaceable>pre-deps...</replaceable>&#93; &#91;post: <replaceable>post-deps...</replaceable>&#93;
+ <term>softdep <replaceable>modulename</replaceable> pre: <replaceable>modules...</replaceable> post: <replaceable>modules...</replaceable>
</term>
<listitem>
<para>
- The softdep command allows you to specify soft, or optional, module
- dependencies. <replaceable>modulename</replaceable> can be used
- without these optional modules installed, but usually with some
- features missing.
+ The <command>softdep</command> command allows you to specify soft,
+ or optional, module dependencies. <replaceable>modulename</replaceable>
+ can be used without these optional modules installed, but usually with
+ some features missing. For example, a driver for a storage HBA might
+ require another module be loaded in order to use management features.
</para>
<para>
- pre-deps and post-deps are lists of names and/or aliases of other
+ pre-deps and post-deps modules are lists of names and/or aliases of other
modules that modprobe will attempt to install (or remove) in order
before and after the main module given in the
<replaceable>modulename</replaceable> argument.
@@ -212,6 +213,8 @@
A future version of module-init-tools will come with a strong warning
to avoid use of the <command>install</command> as explained above. This
will happen once support for soft dependencies in the kernel is complete.
+ That support will complement the existing softdep support within this
+ utility by providing such dependencies directly within the modules.
</para>
</refsect1>
<refsect1>