diff options
| author | Artem Bunichev <tembun@bk.ru> | 2026-03-26 13:11:26 +0000 |
|---|---|---|
| committer | Alexander Ziaee <ziaee@FreeBSD.org> | 2026-03-26 13:11:28 +0000 |
| commit | 1e2c9bcc4ed5fd2a27abdbcf5dfb007193251648 (patch) | |
| tree | 225a2f8bd053713e4b855d4e54a312a994d883a3 | |
| parent | 23d6516773916d8f324bea51867b0713c476f379 (diff) | |
kldload.2: Provide more info about file argument
The information is basically taken from kldload(8).
Reviewed by: kib, ziaee
Differential Revision: https://reviews.freebsd.org/D55170
| -rw-r--r-- | lib/libsys/kldload.2 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/libsys/kldload.2 b/lib/libsys/kldload.2 index 63a13c328d58..55dd16300af0 100644 --- a/lib/libsys/kldload.2 +++ b/lib/libsys/kldload.2 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 3, 1999 +.Dd March 26, 2026 .Dt KLDLOAD 2 .Os .Sh NAME @@ -39,7 +39,20 @@ The .Fn kldload system call -loads a kld file into the kernel using the kernel linker. +loads a kld file specified by +.Fa file +into the kernel using the kernel linker (see +.Xr kld 4 ) . +The +.Fa file +can be specified as a full or relative path, or otherwise is searched +within the module path as defined by the +loader tunable and sysctl variable +.Va kern.module_path . +The .ko +extension for +.Fa file +is not mandatory. .Sh RETURN VALUES The .Fn kldload |
