Blame man/depmod.d.5

Packit a3a425
'\" t
Packit a3a425
.\"     Title: depmod.d
Packit a3a425
.\"    Author: Jon Masters <jcm@jonmasters.org>
Packit a3a425
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
Packit a3a425
.\"      Date: 01/08/2018
Packit a3a425
.\"    Manual: depmod.d
Packit a3a425
.\"    Source: kmod
Packit a3a425
.\"  Language: English
Packit a3a425
.\"
Packit a3a425
.TH "DEPMOD\&.D" "5" "01/08/2018" "kmod" "depmod.d"
Packit a3a425
.\" -----------------------------------------------------------------
Packit a3a425
.\" * Define some portability stuff
Packit a3a425
.\" -----------------------------------------------------------------
Packit a3a425
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Packit a3a425
.\" http://bugs.debian.org/507673
Packit a3a425
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
Packit a3a425
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Packit a3a425
.ie \n(.g .ds Aq \(aq
Packit a3a425
.el       .ds Aq '
Packit a3a425
.\" -----------------------------------------------------------------
Packit a3a425
.\" * set default formatting
Packit a3a425
.\" -----------------------------------------------------------------
Packit a3a425
.\" disable hyphenation
Packit a3a425
.nh
Packit a3a425
.\" disable justification (adjust text to left margin only)
Packit a3a425
.ad l
Packit a3a425
.\" -----------------------------------------------------------------
Packit a3a425
.\" * MAIN CONTENT STARTS HERE *
Packit a3a425
.\" -----------------------------------------------------------------
Packit a3a425
.SH "NAME"
Packit a3a425
depmod.d \- Configuration directory for depmod
Packit a3a425
.SH "SYNOPSIS"
Packit a3a425
.PP
Packit a3a425
/usr/lib/depmod\&.d/*\&.conf
Packit a3a425
.PP
Packit a3a425
/etc/depmod\&.d/*\&.conf
Packit a3a425
.PP
Packit a3a425
/run/depmod\&.d/*\&.conf
Packit a3a425
.SH "DESCRIPTION"
Packit a3a425
.PP
Packit a3a425
The order in which modules are processed by the
Packit a3a425
\fBdepmod\fR
Packit a3a425
command can be altered on a global or per\-module basis\&. This is typically useful in cases where built\-in kernel modules are complemented by custom built versions of the same and the user wishes to affect the priority of processing in order to override the module version supplied by the kernel\&.
Packit a3a425
.PP
Packit a3a425
The format of files under
Packit a3a425
depmod\&.d
Packit a3a425
is simple: one command per line, with blank lines and lines starting with \*(Aq#\*(Aq ignored (useful for adding comments)\&. A \*(Aq\e\*(Aq at the end of a line causes it to continue on the next line, which makes the files a bit neater\&.
Packit a3a425
.SH "COMMANDS"
Packit a3a425
.PP
Packit a3a425
search \fIsubdirectory\&.\&.\&.\fR
Packit a3a425
.RS 4
Packit a3a425
This allows you to specify the order in which /lib/modules (or other configured module location) subdirectories will be processed by
Packit a3a425
\fBdepmod\fR\&. Directories are listed in order, with the highest priority given to the first listed directory and the lowest priority given to the last directory listed\&. The special keyword
Packit a3a425
\fBbuilt\-in\fR
Packit a3a425
refers to the standard module directories installed by the kernel\&. Another special keyword
Packit a3a425
\fBexternal\fR
Packit a3a425
refers to the list of external directories, defined by the
Packit a3a425
\fBexternal\fR
Packit a3a425
command\&.
Packit a3a425
.sp
Packit a3a425
By default, depmod will give a higher priority to a directory with the name
Packit a3a425
\fBupdates\fR
Packit a3a425
using this built\-in search string: "updates built\-in" but more complex arrangements are possible and are used in several popular distributions\&.
Packit a3a425
.RE
Packit a3a425
.PP
Packit a3a425
override \fImodulename\fR \fIkernelversion\fR \fImodulesubdirectory\fR
Packit a3a425
.RS 4
Packit a3a425
This command allows you to override which version of a specific module will be used when more than one module sharing the same name is processed by the
Packit a3a425
\fBdepmod\fR
Packit a3a425
command\&. It is possible to specify one kernel or all kernels using the * wildcard\&.
Packit a3a425
\fImodulesubdirectory\fR
Packit a3a425
is the name of the subdirectory under /lib/modules (or other module location) where the target module is installed\&.
Packit a3a425
.sp
Packit a3a425
For example, it is possible to override the priority of an updated test module called
Packit a3a425
\fBkmod\fR
Packit a3a425
by specifying the following command: "override kmod * extra"\&. This will ensure that any matching module name installed under the
Packit a3a425
\fBextra\fR
Packit a3a425
subdirectory within /lib/modules (or other module location) will take priority over any likenamed module already provided by the kernel\&.
Packit a3a425
.RE
Packit a3a425
.PP
Packit a3a425
external \fIkernelversion\fR \fIabsolutemodulesdirectory\&.\&.\&.\fR
Packit a3a425
.RS 4
Packit a3a425
This specifies a list of directories, which will be checked according to the priorities in the
Packit a3a425
\fBsearch\fR
Packit a3a425
command\&. The order matters also, the first directory has the higher priority\&.
Packit a3a425
.sp
Packit a3a425
The
Packit a3a425
\fIkernelversion\fR
Packit a3a425
is a POSIX regular expression or * wildcard, like in the
Packit a3a425
\fBoverride\fR\&.
Packit a3a425
.RE
Packit a3a425
.SH "COPYRIGHT"
Packit a3a425
.PP
Packit a3a425
This manual page Copyright 2006\-2010, Jon Masters, Red Hat, Inc\&.
Packit a3a425
.SH "SEE ALSO"
Packit a3a425
.PP
Packit a3a425
\fBdepmod\fR(8)
Packit a3a425
.SH "AUTHORS"
Packit a3a425
.PP
Packit a3a425
\fBJon Masters\fR <\&jcm@jonmasters\&.org\&>
Packit a3a425
.RS 4
Packit a3a425
Developer
Packit a3a425
.RE
Packit a3a425
.PP
Packit a3a425
\fBRobby Workman\fR <\&rworkman@slackware\&.com\&>
Packit a3a425
.RS 4
Packit a3a425
Developer
Packit a3a425
.RE
Packit a3a425
.PP
Packit a3a425
\fBLucas De Marchi\fR <\&lucas\&.de\&.marchi@gmail\&.com\&>
Packit a3a425
.RS 4
Packit a3a425
Developer
Packit a3a425
.RE