git: 866c8b8d5ddb - main - kldload(8): Add note about using kld_list in rc.conf(5)
Daniel Ebdrup Jensen
debdrup at FreeBSD.org
Mon Feb 8 07:04:58 UTC 2021
The branch main has been updated by debdrup (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=866c8b8d5ddb982c2b8139153a4ddfdb2aac3364
commit 866c8b8d5ddb982c2b8139153a4ddfdb2aac3364
Author: Daniel Ebdrup Jensen <debdrup at FreeBSD.org>
AuthorDate: 2021-02-08 06:49:32 +0000
Commit: Daniel Ebdrup Jensen <debdrup at FreeBSD.org>
CommitDate: 2021-02-08 06:57:36 +0000
kldload(8): Add note about using kld_list in rc.conf(5)
While here, also recommend that loader.conf(5) should only be used in
order to get to mountroot, as rc(8) is less fragile, faster, and is
easier to fix by booting to single-user mode instead of having to
blacklist modules in the loader.
MFH: 2 weeks
---
sbin/kldload/kldload.8 | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sbin/kldload/kldload.8 b/sbin/kldload/kldload.8
index 9401c22819d5..d95cf1fcdfe9 100644
--- a/sbin/kldload/kldload.8
+++ b/sbin/kldload/kldload.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 27, 2017
+.Dd February 8, 2021
.Dt KLDLOAD 8
.Os
.Sh NAME
@@ -108,6 +108,11 @@ time when the corresponding
.Xr rc.conf 5
statement is used.
Modules may also be auto-loaded through their addition to
+.Xr loader.conf 5
+or kld_list in
+.Xr rc.conf 5 .
+.Pp
+Only modules needed to get to mountroot should be loaded via
.Xr loader.conf 5 .
.Sh SEE ALSO
.Xr kldload 2 ,
More information about the dev-commits-src-main
mailing list