[PATCH] doc: document the new "path" option in depmod.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The depmod command now supports indexing of split module directories (at
least initially), so add some documentation. In particular, attempt to
differentiate between "search" and "path". In a perfect world, there would
be one option that did both but that is difficult (don't want to break
existing configurations and the functionality is subtly different).

Signed-off-by: Jon Masters <jcm@xxxxxxxxxxxxxx>
---
 doc/depmod.conf.sgml |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/doc/depmod.conf.sgml b/doc/depmod.conf.sgml
index 0d1b5b7..27fb525 100644
--- a/doc/depmod.conf.sgml
+++ b/doc/depmod.conf.sgml
@@ -51,6 +51,26 @@
     <title>COMMANDS</title>
     <variablelist>
       <varlistentry>
+        <term>path <replaceable>subdirectory...</replaceable>
+        </term>
+        <listitem>
+          <para>
+            This allows you to specify additional directories (other than
+            the default of /lib/modules) that will be searched and indexed
+            for available modules by <command>depmod</command>. This option
+            can be used in combination with the <command>search</command>
+            option (which configures behavior within a given directory
+            specified using the <command>path</command> option).
+          </para>
+          <para>
+            By default, <command>depmod</command> will search the standard
+            system /lib/modules/kernelversion directory for modules, but
+            you can use this option to have it index additional directories
+            that may be on an entirely different filesystem.
+          </para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
         <term>search <replaceable>subdirectory...</replaceable>
         </term>
 	<listitem>
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux