1DEPMOD.D(5)                        depmod.d                        DEPMOD.D(5)
2
3
4

NAME

6       depmod.d - Configuration directory for depmod
7

SYNOPSIS

9       /usr/lib/depmod.d/*.conf
10
11       /etc/depmod.d/*.conf
12
13       /run/depmod.d/*.conf
14

DESCRIPTION

16       The order in which modules are processed by the depmod command can be
17       altered on a global or per-module basis. This is typically useful in
18       cases where built-in kernel modules are complemented by custom built
19       versions of the same and the user wishes to affect the priority of
20       processing in order to override the module version supplied by the
21       kernel.
22
23       The format of files under depmod.d is simple: one command per line,
24       with blank lines and lines starting with '#' ignored (useful for adding
25       comments). A '\' at the end of a line causes it to continue on the next
26       line, which makes the files a bit neater.
27

COMMANDS

29       search subdirectory...
30           This allows you to specify the order in which /lib/modules (or
31           other configured module location) subdirectories will be processed
32           by depmod. Directories are listed in order, with the highest
33           priority given to the first listed directory and the lowest
34           priority given to the last directory listed. The special keyword
35           built-in refers to the standard module directories installed by the
36           kernel. Another special keyword external refers to the list of
37           external directories, defined by the external command.
38
39           By default, depmod will give a higher priority to a directory with
40           the name updates using this built-in search string: "updates
41           built-in" but more complex arrangements are possible and are used
42           in several popular distributions.
43
44       override modulename kernelversion modulesubdirectory
45           This command allows you to override which version of a specific
46           module will be used when more than one module sharing the same name
47           is processed by the depmod command. It is possible to specify one
48           kernel or all kernels using the * wildcard.  modulesubdirectory is
49           the name of the subdirectory under /lib/modules (or other module
50           location) where the target module is installed.
51
52           For example, it is possible to override the priority of an updated
53           test module called kmod by specifying the following command:
54           "override kmod * extra". This will ensure that any matching module
55           name installed under the extra subdirectory within /lib/modules (or
56           other module location) will take priority over any likenamed module
57           already provided by the kernel.
58
59       external kernelversion absolutemodulesdirectory...
60           This specifies a list of directories, which will be checked
61           according to the priorities in the search command. The order
62           matters also, the first directory has the higher priority.
63
64           The kernelversion is a POSIX regular expression or * wildcard, like
65           in the override.
66
68       This manual page Copyright 2006-2010, Jon Masters, Red Hat, Inc.
69

SEE ALSO

71       depmod(8)
72

AUTHORS

74       Jon Masters <jcm@jonmasters.org>
75           Developer
76
77       Robby Workman <rworkman@slackware.com>
78           Developer
79
80       Lucas De Marchi <lucas.de.marchi@gmail.com>
81           Developer
82
83
84
85kmod                              01/08/2018                       DEPMOD.D(5)
Impressum