From nobody Fri Feb 6 00:28:03 2026 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 4f6ZgR4bqMz6RRN6 for ; Fri, 06 Feb 2026 00:28:03 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f6ZgR1pv6z3w45 for ; Fri, 06 Feb 2026 00:28:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770337683; 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=zkC6uJBHH681ZGu+cB7ylhdx37OW8p0DNiVh3binAA0=; b=NqzzPA+kmEWX89HBTJkq4Lmg4T51/a0v4Vj6b9ufn2PnqFw5vQN22aI9+cFSwYK25FPstI AALqK4kXeQwSNPSXCUu+EUgEOdvU2UaYvWl/EUnQB3ouLmNkf9ppWXK5Q6aYuhCxeaitFi zTx95khx27266tZB0XaikuPHKqVuPZ9+9KgBschfqKVosAKFKjdPsmFHEAIAf3yS72MK6C LP125BGKqJhT5NKTKN9wpMhbNf5nK9UmwEyk3Pk02uGaBAf8a4lziJP2CsnNfw+U0qrkiC O72umxXZX/7c0/+OGfpGKn81FyDObsWalrW9m/Do8zt2By7YbtDiZ0tvkcDgtg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770337683; a=rsa-sha256; cv=none; b=Nh5QTRwCwyRx6GRAjegqU2PWo/fKhxvveSh+JxWj2nVfEaxGshEDW6u0Wfwg8KcAMJUoOd VieG7c3ENLA/gH8jSY53YCsv8nnVvkxBfWrsRdu0m8MEMDy1gIS10Attaewzm4jnygRzTM ASnR6xHT7pJGGT3RZiHXL0pLq8i63my+CNP+LArEqXQrQKV6vr8DOy94qRDU2XSBbeCOTw kqJbbBSjf84vZbjnPzCvOhjXSNf97MfAwkWDx5MjuXCo8dRc3uWIFmz96NQ/0DlswnCodu FaWvFi8V6HtNXTX+dXFNDhppkktxx88Z4MTev3QZ9dOc1JiFoWZbAHff+4ePnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770337683; 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=zkC6uJBHH681ZGu+cB7ylhdx37OW8p0DNiVh3binAA0=; b=d45dQ+vAovErKS7e79NMqWGqMC/OyoHPf89wkaAOmay9fmDbddnQTcnRKCNHhAeR8jZulR 6V3lqEMj11NOSCNvKypNQ3w1S72sgArPVnrECx9vcb2hz2QRfXWKIo912FN/9HeRfqkusn Qhe2c8HuTB6sb2HY2GVzvDnLzOjDGXfcez0xA7jate36Dd1Ng7F1obtdcJZgjFwwJ0Qetj jCKL2kwYsV97VdUI8RxV11tchu1a+FCVCpgqbQpCe8T8bGJ1jg/eCvck4iQe6o4IWK93bL hZV3Mp0mTNYgcOhwozDoem1qJrCIbUBTenWXiNjZNUiYMPX1aKj0/rpnngj/9A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f6ZgR0Yknzsg7 for ; Fri, 06 Feb 2026 00:28:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 272ef by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 06 Feb 2026 00:28:03 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Ziaee Subject: git: 7812565e2ceb - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 7812565e2ceb1a0337ceeb2322ae122563fa8334 Auto-Submitted: auto-generated Date: Fri, 06 Feb 2026 00:28:03 +0000 Message-Id: <69853593.272ef.2b55e4b3@gitrepo.freebsd.org> The branch stable/14 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=7812565e2ceb1a0337ceeb2322ae122563fa8334 commit 7812565e2ceb1a0337ceeb2322ae122563fa8334 Author: Alexander Ziaee AuthorDate: 2025-11-14 14:59:09 +0000 Commit: Alexander Ziaee CommitDate: 2026-02-06 00:18:00 +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