Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2026 13:13:12 +0000
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Cc:        Artem Bunichev <tembun@bk.ru>
Subject:   git: 1e2c9bcc4ed5 - main - kldload.2: Provide more info about file argument
Message-ID:  <69c530e8.46024.6b49aad5@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=1e2c9bcc4ed5fd2a27abdbcf5dfb007193251648

commit 1e2c9bcc4ed5fd2a27abdbcf5dfb007193251648
Author:     Artem Bunichev <tembun@bk.ru>
AuthorDate: 2026-03-26 13:11:26 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-03-26 13:11:28 +0000

    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
---
 lib/libsys/kldload.2 | 17 +++++++++++++++--
 1 file 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c530e8.46024.6b49aad5>