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
This commit is contained in:
Daniel Ebdrup Jensen 2021-02-08 07:49:32 +01:00
parent b3c6fe663b
commit 866c8b8d5d

View file

@ -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 ,