From nobody Tue Jan 24 22:10:25 2023 X-Original-To: dev-commits-src-branches@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 4P1h421H0mz3bf1c; Tue, 24 Jan 2023 22:10:26 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1h420KdCz4KBv; Tue, 24 Jan 2023 22:10:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598226; 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=FQAI2MNLGON0EPE3hbyfrip1I3cOWGcdfiuLIPSVoQg=; b=cly0NedqILnVcxbmOVf2coaQvf0DD/YBafmdofra1uG2PjIbjC+S/N4iXc4yfN6VfW3EFf LPSnk2M6vf4Zx7MQ9X36PfD1sJFjzmreAHVnxD3fZGIm9kq3ELLmZQUaNf8XO+ijSaXyV7 bxPzFd8ZPaIz9ZhA2HmnMsNB2rTs6Y2p1NpjnNqihlyWuZHy0NkakOI7h+6AKNPBcoT54A SjJmR8OSRE24kqE/ivd+WRm7IldWZIwOcU2JI8JRvgo2dK0zS7iT77OPHiIizMUNNfvwmX dp02JCYrqlmd9LcshtxFyahDuYqObgor2ae5NFsGJwzqlWDHTcwcejmh6V31JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598226; 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=FQAI2MNLGON0EPE3hbyfrip1I3cOWGcdfiuLIPSVoQg=; b=uHWhmmL9kbZ/j+I9EEm6yNo2OcDY2UL5rwA2tuPImXyeyovHuWhTjdfRVGbIbUVaUNC1/b Ix3RtRaF04uai38A3t2DmssPp0+tyjiAv46EYu+3wzipSxvqxLKeisToTv0sYsYkheQmlf Wu9KtnuzuuaFvwe90wIEDHzypwM+CS1Jq7j0rhBvudkw11onB8TlVFE/pyIaErmUT18iqU ymGmgrrSra/yXtirhg6hoLOuV9efHL3YANlasW+EmGv6tloq6mzcJsKiwLzf8W3rICKjfj nU3tnHsoLTgYtp2IC9IcrWyOrTL17+5E5Bz6tAG9M/3nXxB4Ec+nRn5pAACQpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674598226; a=rsa-sha256; cv=none; b=dXeGgpT9UzALiPS1LdFwYwywup6RopzfOn3f0SrfoVqTeqttPo7fu5rUuw6gFGk7VMyYGw SGejnD+ZQQOy0oPlA4cVjIG7P/lDlYuLhK97loTP9pG18D+uTV9dWg+k3tFXCNOVtMs0XX lNsQcJX7jvnJotQDV3uPG/dfOrBzJ1bA6rLI9wdUkwpcJMv8uxCCeUcR8c0UlrFHV2g9Px 9OpuV4K7zCx8emefQaJYmA2M5p8+Oc7Z9BcBs6OuDpmT65kaQ+nQlLXk2wp7YGfDf3yYin 89sxkSbGs8cnR6rDzvr8rnaZPZqIkeggKN+NFk5NMWM5JfZ/N4kw6F8L3hsmaw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P1h416RCZzQWf; Tue, 24 Jan 2023 22:10:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30OMAPOs080033; Tue, 24 Jan 2023 22:10:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30OMAPTM080032; Tue, 24 Jan 2023 22:10:25 GMT (envelope-from git) Date: Tue, 24 Jan 2023 22:10:25 GMT Message-Id: <202301242210.30OMAPTM080032@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: ffcd048288e3 - stable/13 - Correct typos and more precise wording. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: ffcd048288e3cd6559a88300238e46aa2f6fe48f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ffcd048288e3cd6559a88300238e46aa2f6fe48f commit ffcd048288e3cd6559a88300238e46aa2f6fe48f Author: Jens Schweikhardt AuthorDate: 2022-04-11 18:15:12 +0000 Commit: Warner Losh CommitDate: 2023-01-24 21:49:20 +0000 Correct typos and more precise wording. (cherry picked from commit 67f5810e07ca131503824a92e6cdeb7e1fdb93e8) --- stand/man/loader_lua.8 | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/stand/man/loader_lua.8 b/stand/man/loader_lua.8 index 32085748bf1c..3bc7985ea00a 100644 --- a/stand/man/loader_lua.8 +++ b/stand/man/loader_lua.8 @@ -53,16 +53,16 @@ The smaller one is a set of commands designed for direct use by the casual user, called "builtin commands" for historical reasons. The main drive behind these commands is user-friendliness. -The bigger component is the Lua interpter. +The bigger component is the Lua interpreter. .Pp During initialization, .Nm -will probe for a console and set the +probes for a console and set the .Va console variable, or set it to serial console .Pq Dq Li comconsole if the previous boot stage used that. -If multiple consoles are selected, they will be listed separated by spaces. +If multiple consoles are selected, they are listed separated by spaces. Then, devices are probed, .Va currdev and @@ -85,26 +85,25 @@ is not set to .Dq Li NO (not case sensitive), then an .Ic autoboot -will be tried. +is attempted. If the system gets past this point, .Va prompt -will be set and +is set and .Nm -will engage interactive mode. -Please note that historically even when +enters interactive mode. +Please note that, historically, even when .Va autoboot_delay is set to -.Dq Li 0 -user will be able to interrupt autoboot process by pressing some key -on the console while kernel and modules are being loaded. -In some -cases such behaviour may be undesirable, to prevent it set +.Dq Li 0 , +the user can interrupt the autoboot process by pressing a key +on the console while the kernel and modules are being loaded. +To prevent this set .Va autoboot_delay to -.Dq Li -1 , -in this case +.Dq Li -1 . +In this case .Nm -will engage interactive mode only if +enters interactive mode only if .Ic autoboot has failed. .Sh BUILTIN COMMANDS @@ -115,10 +114,10 @@ Presently, the only way to call them from a script is by using .Pa evaluate on a string. -If an error condition occurs, an exception will be generated, +If an error condition occurs, an exception is generated, which can be intercepted using Lua exception handling. -If not intercepted, an error message will be displayed and -the interpreter's state will be reset, emptying the stack and restoring +If not intercepted, an error message is displayed and +the interpreter's state is reset, emptying the stack and restoring interpreting mode. .Pp The commands are described in the @@ -181,7 +180,7 @@ If MD available, a file system can be embedded into the .Nm with .Pa /sys/tools/embed_mfs.sh . -Then, MD will be probed and be set to +Then, MD is probed and be set to .Va currdev during initialization. .Pp