diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
commit | 932e4432596447eb9331cc2a2bb74a26a35b4efc (patch) | |
tree | 95161711ea07fd64f0c82d6e7943024c033dd5a8 /upstream/debian-unstable/man5/modprobe.d.5 | |
parent | Adding debian version 4.22.0-1. (diff) | |
download | manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.tar.xz manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.zip |
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man5/modprobe.d.5')
-rw-r--r-- | upstream/debian-unstable/man5/modprobe.d.5 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/upstream/debian-unstable/man5/modprobe.d.5 b/upstream/debian-unstable/man5/modprobe.d.5 index 4e3f0823..4ab451b0 100644 --- a/upstream/debian-unstable/man5/modprobe.d.5 +++ b/upstream/debian-unstable/man5/modprobe.d.5 @@ -2,12 +2,12 @@ .\" Title: modprobe.d .\" Author: Jon Masters <jcm@jonmasters.org> .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 02/13/2024 +.\" Date: 05/26/2024 .\" Manual: modprobe.d .\" Source: kmod .\" Language: English .\" -.TH "MODPROBE\&.D" "5" "02/13/2024" "kmod" "modprobe.d" +.TH "MODPROBE\&.D" "5" "05/26/2024" "kmod" "modprobe.d" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -144,6 +144,15 @@ argument, \fBsoftdep\fR takes precedence\&. .RE +.PP +weakdep \fImodulename\fR \fImodules\&.\&.\&.\fR +.RS 4 +The +\fBweakdep\fR +command allows you to specify weak module dependencies\&. Those are similar to pre softdep, with the difference that userspace doesn\*(Aqt attempt to load that dependency before the specified module\&. Instead the kernel may request one or multiple of them during module probe, depending on the hardware it\*(Aqs binding to\&. The purpose of weak module is to allow a driver to specify that a certain dependency may be needed, so it should be present in the filesystem (e\&.g\&. in initramfs) when that module is probed\&. +.sp +Example: Assume "weakdep c a b"\&. A program creating an initramfs knows it should add a, b, and c to the filesystem since a and b may be required/desired at runtime\&. When c is loaded and is being probed, it may issue calls to request_module() causing a or b to also be loaded\&. +.RE .SH "COMPATIBILITY" .PP A future version of kmod will come with a strong warning to avoid use of the |