From nobody Sun Nov 23 16:39:09 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dDvmZ13g0z6HGGC for ; Sun, 23 Nov 2025 16:39:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dDvmY1dxjz45dk for ; Sun, 23 Nov 2025 16:39:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763915949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gkRbuS7VkTQL6Cut7HZSbAE/FkLKTcOUUsr8Enew5nU=; b=qnkd8p42GAPfuRiwCeEuaCJNJv7Rm73ysIdApLv+NxRDCf3L6z1mwd0NBj83h5vKCkyWpb QuPuydmS9xZKtVm0g8Znv79mXcWxdtD9pdfe+kjiZCvkm5eFSY5Ya3mH5ggq/9yVQru5vl GZR9FGE2aCRhbszq14BMw9xk8wZPOj03mr2M5VUK9u99PjZxFF++J4jsyNisE2wIShVujC i/XXl9NKTKYXWRcTaCenf0wDKEaugVvpFB150yWc48M9WVSskuXKUqvPvmhY+rNnuYmAnw kkBW60OEK4huC7f+2YRnRfaq+/VrXCh6sixcmM2pHcIOsiUuJOSeNCgPuz0HXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763915949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gkRbuS7VkTQL6Cut7HZSbAE/FkLKTcOUUsr8Enew5nU=; b=F65vk4DpkFkKd+gDwp+79J47wm8N8oQhjOUaEhdG63Fdw80lbF/bUpPHnL8Ex55AbhaxQK 9xez0n0iRpTtLS/LzfO5LKt3n4/2PjWlC1OtlzxQe4vA3yIvBnDfnczKmkvEd4oqsQWmjn Y9YbRTpT6wfojAu7vy2nawg2S/c0kuMOOAN3W6yESkhG7KlNDszSiktFUpTQuRIDXzLPep YTEMdMJNVT1BWSHmraCYYVQFAxGgBVy2rbMArwph2hMDUBEk+BMvFTgZE83UpzUTMlHNf4 dMbRSI2QBRLZ9AJWnvun2o/rkJo+OlnAO2+13Ll8bUqPSp+t5txenyjneiiBEw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763915949; a=rsa-sha256; cv=none; b=D/pgKNKIzXiGPHq6F1PORHYESSoTvVEabUFAkZucMLuMJQTEu6OGm0YIj46tpSneev63p/ YB84/8u1BEEGSVx7XxQlaT3FNzYwY2fkoxc5tj38gqG37w2NZ6+pDTMipEbwWETKRh3wPA +1MrmCvU5qxQV9gk4W8LisLs7JF+8LlGzNev6cnWO6gcceW/Kso1ZDFYPYNv1RkDFgijB6 BefGO/4Q/HtuuvKNuXvdKg8UfRoThoeMFNdgmN3em31bf7H+vs7Q9iAufCUQzFOB+o3B4w h0JjJna715t0kCoW1JKifo4ZAdquWcMGcFtDxiR6YhJgW2K6bXYAWlk3oR9r6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dDvmY167Xzcjr for ; Sun, 23 Nov 2025 16:39:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 37387 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 23 Nov 2025 16:39:09 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Alexander Ziaee From: Colin Percival Subject: git: d84de55c1501 - releng/15.0 - loader.8: Document module commands List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/releng/15.0 X-Git-Reftype: branch X-Git-Commit: d84de55c15016640a03d0ff43898addd5b9323d8 Auto-Submitted: auto-generated Date: Sun, 23 Nov 2025 16:39:09 +0000 Message-Id: <692338ad.37387.6f1e8414@gitrepo.freebsd.org> The branch releng/15.0 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=d84de55c15016640a03d0ff43898addd5b9323d8 commit d84de55c15016640a03d0ff43898addd5b9323d8 Author: Alexander Ziaee AuthorDate: 2025-11-14 14:59:09 +0000 Commit: Colin Percival CommitDate: 2025-11-23 16:38:45 +0000 loader.8: Document module commands Begin documenting module loader commands in loader(8), where the reader would look for them. Segregate them by their availability in individual loader implementations, like build(7) targets. These details were graciously donated by kevans. Approved by: re (cperciva) MFC after: 3 days Reviewed by: kevans Co-authored-by: Kyle Evans Differential Revision: https://reviews.freebsd.org/D50727 (cherry picked from commit 6fb0d67819f730e8def56e139f780eff3c0cab0f) (cherry picked from commit 513b9db1a829b4efba91c86f280ba97b26c82c1f) --- stand/man/loader.8 | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/stand/man/loader.8 b/stand/man/loader.8 index 234eabd571e0..484e0a7b300c 100644 --- a/stand/man/loader.8 +++ b/stand/man/loader.8 @@ -26,7 +26,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd September 29, 2021 +.Dd November 14, 2025 .Dt LOADER 8 .Os .Sh NAME @@ -89,6 +89,52 @@ The commands common to all interpreters are described in the .Xr loader_simp 8 .Dq BUILTIN COMMANDS section. +.Pp +The following commands are only available in +.Xr loader_lua 8 +and +.Xr loader_4th 8 : +.Pp +.Bl -tag -width indent -compact +.\" sort the following entries according to the second field +.It Ic boot-conf +Load the +.Nm +config and commence the autoboot sequence. +.Pp +.It Ic read-conf Ar file +Load the specified configuration file. +.Pp +.It Ic reload-conf +Revert any previously applied settings, and reload the configuration. +Set comands that were executed at the command line to override variables +previously +.Cm set +by +.Xr loader.conf 5 +configuration will also be reverted, +along with any module options that were toggled. +.Pp +.It Ic enable-module Ar kmod-name +.It Ic disable-module Ar kmod-name +.It Ic toggle-module Ar kmod-name +Enable, disable, or toggle loading of the kernel module named +.Dq Ar kmod-name . +.Pp +.It Ic show-module-options +Describe all modules the +.Nm +is aware of, and show if they are enabled or not. +.El +.Pp +The following command is only available in +.Xr loader_lua 8 : +.Pp +.Bl -tag -width indent -compact +.It Ic disable-device Ar device +Set a newbus hint to disable the +.Ar device . +.El .Ss BUILTIN ENVIRONMENT VARIABLES The environment variables common to all interpreters are described in the .Xr loader_simp 8