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
17       (useful  for  adding comments). A '\' at the end of a line causes it to
18       continue 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 priority given to the last directory listed. The  special
27              keyword  built-in  refers  to  the  standard  module directories
28              installed by the kernel.
29
30              By default, depmod will give a higher priority  to  a  directory
31              with  the  name  updates  using  this  built-in  search  string:
32              "updates built-in" but more complex  arrangements  are  possible
33              and are used in several popular distributions.
34
35       override modulename kernelversion modulesubdirectory
36              This  command allows you to override which version of a specific
37              module will be used when more than one module sharing  the  same
38              name is processed by the depmod command. It is possible to spec‐
39              ify one kernel or all kernels using the * wildcard.   modulesub‐
40              directory is the name of the subdirectory under /lib/modules (or
41              other module location) where the target module is installed.
42
43              For example, it is possible  to  override  the  priority  of  an
44              updated  test module called kmp by specifying the following com‐
45              mand: "override kmp * extra".  This will ensure that any  match‐
46              ing  module  name  installed under the extra subdirectory within
47              /lib/modules (or other module location) will take priority  over
48              any likenamed module already provided by the kernel.
49
51       This manual page Copyright 2006, Jon Masters, Red Hat, Inc.
52

SEE ALSO

54       depmod(8)
55
56
57
58                                  2005-09-23                    DEPMOD.CONF(5)
Impressum