From 866c8b8d5ddb982c2b8139153a4ddfdb2aac3364 Mon Sep 17 00:00:00 2001 From: Daniel Ebdrup Jensen Date: Mon, 8 Feb 2021 07:49:32 +0100 Subject: [PATCH] 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 9401c22819d..d95cf1fcdfe 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 ,