1 <!doctype refentry PUBLIC
"-//OASIS//DTD DocBook V4.1//EN" [
2 <!ENTITY debian
"<productname>Debian GNU/Linux</productname>">
3 <!ENTITY docbook
"<productname>DocBook</productname>">
4 <!ENTITY sgml
"<abbrev>SGML</abbrev>">
7 <!-- Stolen from manual page for docbook-to-man, DocBook source file
8 (C) 1999 W. Borgert debacle@debian.org
10 $Id: docbook-to-man.sgml,v 1.8 2002/04/27 15:28:02 debacle Exp $ -->
15 <email>jcm@jonmasters.org
</email>
18 <firstname>Jon
</firstname>
19 <surname>Masters
</surname>
21 <date>2005-
09-
23</date>
24 <refentrytitle>depmod.d
</refentrytitle>
25 <manvolnum>5</manvolnum>
26 <refentrytitle>depmod.conf
</refentrytitle>
27 <manvolnum>5</manvolnum>
30 <refname>depmod.conf
</refname><refname>depmod.d
</refname> <refpurpose>Configuration file/directory for depmod
</refpurpose>
33 <title>DESCRIPTION
</title>
35 <para>The order in which modules are processed by the
36 <command>depmod
</command> command can be altered on a global or
37 per-module basis. This is typically useful in cases where built-in
38 kernel modules are complemented by custom built versions of the
39 same and the user wishes to affect the priority of processing in
40 order to override the module version supplied by the kernel.
43 The format of
<filename>depmod.conf
</filename> and files under
<filename>depmod.d
</filename> is simple: one
44 command per line, with blank lines and lines starting with #
45 ignored (useful for adding comments). A \ at the end of a line
46 causes it to continue on the next line, which makes the file a
51 <title>COMMANDS
</title>
54 <term>search
<replaceable>subdirectory...
</replaceable>
58 This allows you to specify the order in which /lib/modules
59 (or other configured module location) subdirectories will
60 be processed by
<command>depmod
</command>. Directories are
61 listed in order, with the highest priority given to the
62 first listed directory and the lowest to the last. The
63 special keyword
<command>built-in
</command> refers to
64 the standard module directories installed by the kernel.
67 By default, depmod will give a higher priority to
68 a directory with the name
<command>updates
</command>
69 using this built-in search string:
"updates built-in"
70 but more complex arrangements are possible and are
71 used in several popular distributions.
76 <term>override
<replaceable>modulename
</replaceable> <replaceable>kernelversion
</replaceable> <replaceable>modulesubdirectory
</replaceable>
80 This command allows you to override which version of a
81 specific module will be used when more than one module
82 sharing the same name is processed by the
83 <command>depmod
</command> command. It is possible to
84 specify one kernel or all kernels using the * wildcard.
85 <replaceable>modulesubdirectory
</replaceable> is the
86 name of the subdirectory under /lib/modules (or other
87 module location) where the target module is installed.
90 For example, it is possible to override the priority of
91 an updated test module called
<command>kmp
</command> by
92 specifying the following command:
"override kmp * extra".
93 This will ensure that any matching module name installed
94 under the
<command>extra
</command> subdirectory within
95 /lib/modules (or other module location) will take priority
96 over any likenamed module already provided by the kernel.
101 <term>include
<replaceable>filename
</replaceable>
105 Using this command, you can include other configuration
106 files, or whole directories, which is occasionally useful.
113 <title>COPYRIGHT
</title>
115 This manual page Copyright
2006, Jon Masters, Red Hat, Inc.
120 <!-- Keep this comment at the end of the file
125 sgml-minimize-attributes:nil
126 sgml-always-quote-attributes:t
129 sgml-parent-document:nil
130 sgml-default-dtd-file:nil
131 sgml-exposed-tags:nil
132 sgml-local-catalogs:nil
133 sgml-local-ecat-files:nil