1DEPMOD.CONF(5)                                                  DEPMOD.CONF(5)
2
3
4

NAME

6       depmod.conf, depmod.d - Configuration file/directory for depmod
7

DESCRIPTION

9       The  order  in which modules are processed by the depmod command can be
10       altered on a global or per-module basis. This is  typically  useful  in
11       cases  where  built-in  kernel modules are complemented by custom built
12       versions of the same and the user wishes to affect the priority of pro‐
13       cessing in order to override the module version supplied by the kernel.
14
15       The  format of depmod.conf and files under depmod.d is simple: one com‐
16       mand per line, with blank lines and lines starting with # ignored (use‐
17       ful  for  adding comments).  A \ at the end of a line causes it to con‐
18       tinue on the next line, which makes the file a bit neater.
19

COMMANDS

21       search subdirectory...
22              This allows you to specify the order in which  /lib/modules  (or
23              other  configured  module  location) subdirectories will be pro‐
24              cessed by depmod. Directories are  listed  in  order,  with  the
25              highest  priority  given  to  the first listed directory and the
26              lowest to the last. The special keyword built-in refers  to  the
27              standard module directories installed by the kernel.
28
29              By  default,  depmod  will give a higher priority to a directory
30              with  the  name  updates  using  this  built-in  search  string:
31              "updates  built-in"  but  more complex arrangements are possible
32              and are used in several popular distributions.
33
34       override modulename kernelversion modulesubdirectory
35              This command allows you to override which version of a  specific
36              module  will  be used when more than one module sharing the same
37              name is processed by the depmod command. It is possible to spec‐
38              ify  one kernel or all kernels using the * wildcard.  modulesub‐
39              directory is the name of the subdirectory under /lib/modules (or
40              other module location) where the target module is installed.
41
42              For  example,  it  is  possible  to  override the priority of an
43              updated test module called kmp by specifying the following  com‐
44              mand:  "override kmp * extra".  This will ensure that any match‐
45              ing module name installed under the  extra  subdirectory  within
46              /lib/modules  (or other module location) will take priority over
47              any likenamed module already provided by the kernel.
48
49       include filename
50              Using this command, you can include other  configuration  files,
51              or whole directories, which is occasionally useful.
52
54       This manual page Copyright 2006, Jon Masters, Red Hat, Inc.
55
56
57
58                                 22 March 2007                  DEPMOD.CONF(5)
Impressum