From nobody Fri Nov 21 17:57:24 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 4dCjbn21R7z6HXQS for ; Fri, 21 Nov 2025 17:57:25 +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 4dCjbm70Njz3M61 for ; Fri, 21 Nov 2025 17:57:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763747845; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GJaVvXHHQ001l1S1MIorQDKRvYg1xwr1XfdGg57TH2c=; b=Tc28w1DQP8Z6ukn/CNAM8k87FzfZq0upysKf0HEf8nK7vNXiDVyLRppHescu3yVIdkIPmI xfVxgcrYCN1k+5Ubs8Z+9mTbrHSqbigEWlNGTeuPijXl9n+T5Or/QZdF9oGaKoYZrOC2Cw wZb7sYKcNN3mriLOBR9aXmDGbas+k1NAsB0kkYl8SDRfQGz0eapSw7T5btX0N0CXsm0TZv I/ql2Jifmuw1YPfGvW4R5aNkk38ZzLCGRv3/81nTnpoVty7hyo4WUDMwySpO/om9MKLwf/ twwFfn3UyDJ2DiKfD9pCX0TftMTqEzGLj5hs3ocSPMQ1fL6DNgcOxSm2k7Q50A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763747845; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GJaVvXHHQ001l1S1MIorQDKRvYg1xwr1XfdGg57TH2c=; b=aneKXIul/zkyIdGfWEkBo6Ef4LrxEf6irVYx4egncLU4UQCFzZMADxmIZCQNIK8LCcn/37 SqgdaLlhkmB3+XmZ+ul73OPeXDEF8iYZ9Nwb/GU2N3sE8aIvbze1szK7JawzzSVT099W/6 xrq9/tjjbvT8YGO5TUA+lK2UkDTdNByiY56fCZDU7usWXBFLnefA+0QFDqM6gPhcZr8GIK UbjxgZPgH60rBHfIDVPB/2CctR2aue7bDHsYdqjoral914AfcZeCquqyix3t9rPm7YGum3 V5v/csK9qbBDqwWXoJzDD+omYksA5FfwBcEQHdEahbzlbqnNDexx6zNxr/aY9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763747845; a=rsa-sha256; cv=none; b=O7fGIs5Ya9H692VJS2d8z42ulg+bopc7h8bZPVC+W5Ud55ycYkYXeuHSAEDQ34HJ03mCsw xL9YMZrWEFYGkNxn954E5qDnowiNeFPm8gnJLdq5UJImmplgA2ZeUIhHye33QMMrChwj2F usSskL+nfZQlnsDpHaHbgcpRgUl6DgnaQaabcif+1qyw3wZWTbUiYs8FU7DKrleK8bdmNt fLbRfBU4QQfn9e7HyMvN4mVfR48DfQ/22TbTI4zHujgzzTLj+SmEo4jpZ316e5ofGyaFmn ycwACFd92stEyER1PcMFoFPe3MKkNyo5v8LkIJILLo7ija0FY+QubpOIQxYcKg== 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 4dCjbm6Trzz6B2 for ; Fri, 21 Nov 2025 17:57:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 22d4a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 21 Nov 2025 17:57:24 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Ziaee Subject: git: 513b9db1a829 - stable/15 - 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: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 513b9db1a829b4efba91c86f280ba97b26c82c1f Auto-Submitted: auto-generated Date: Fri, 21 Nov 2025 17:57:24 +0000 Message-Id: <6920a804.22d4a.5641d076@gitrepo.freebsd.org> The branch stable/15 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=513b9db1a829b4efba91c86f280ba97b26c82c1f commit 513b9db1a829b4efba91c86f280ba97b26c82c1f Author: Alexander Ziaee AuthorDate: 2025-11-14 14:59:09 +0000 Commit: Alexander Ziaee CommitDate: 2025-11-21 17:57:22 +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. MFC after: 3 days Reviewed by: kevans Co-authored-by: Kyle Evans Differential Revision: https://reviews.freebsd.org/D50727 (cherry picked from commit 6fb0d67819f730e8def56e139f780eff3c0cab0f) --- 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