From nobody Mon Jan 26 17:26:37 2026 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 4f0Fnn6f66z6PKcn for ; Mon, 26 Jan 2026 17:26:37 +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 4f0Fnn64nWz3Qgw for ; Mon, 26 Jan 2026 17:26:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769448397; 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=DQ9slFqIMlZGEBgpz5VQMB8nGM6tpnZMgCeKc70pHmE=; b=qi/NphrdbiGsvhibhqUAnbzTNfBR7Ew356q1qTLJtO5e5kG0h9B+PEnqw6YdPmWdZEm9V2 HgAo3jjwSc8TAA+jeW2zh2YSrTru54j4o7MBUfzVsNfE+AP/Sb9RgqwBawkB9HbNqn58UZ ks8gkO+XsV6pwdTv8CCRFVlHesVgWMPIqpXEGVRF2JloIIE89zHpMysi+Ud7FyMD4Alo9X 3LnEyq05fRtQ5wj8G6bIzjHiYdkNgopSjmKjLx/oWUAogx3Q7Hllq/Aav0pPwelTVGmPFz I4tt3NvMPFqVDyT+LmWMfkLTH25EMYOWUaw71TtA7KI0zWWtxLzxrryLxwm4Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1769448397; 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=DQ9slFqIMlZGEBgpz5VQMB8nGM6tpnZMgCeKc70pHmE=; b=nBjTFR9jvBatamZR+OPHHfGQdM++RtVfXcDEtwZDbdH7O0GHwDK2jzjqfpsvZYLS8/N/Ny BiQn7RTeArx8pb4FCEkE/ruMvNkbodlAIaZ0+NsaZxXmjDBGAtCWQzLJsjkC+46VJ5xCn5 b+QiVcS8IejkGDYxhR9OTvjbsxXX+xmjaKJbDDAMLBqxbQxtAHwK3EN7GI/LrkS2GfNQC7 11rNz6Z4jDXkYCpstIshvWnQVF+8y6yuE7NmVse9DNTurKXgWpReY/+Gwmz597uyLMsraT pnuCfWTDQTbIJlF78geI29gxYF4JwQwaeEw24EJAtzNFzMcIlG5O8eklleC0gw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1769448397; a=rsa-sha256; cv=none; b=Z5q7uxsqWA2xsKC4ultR6YIzy/3XOm9bzUeGhWUmJB0opzSXZkUIBi66hBA0zaVfhBd+3V IznFrfWDZLph/iPRFTA3u8SIfq3FUCemUqorI6XQb/faFOGD57SW7WRAHGF5ju+f8CN3jz TZk3mMDItMJvwKGga+U4R8LaTe+UfQOWmlfRzN7m7uFZJ9lUYtITHPCxqsLA6nYCUH6RoL d0Z+hTY9o6rGl+2ef0cvaIeaACnRPNouYceveBLi9iiXUWsbTCIU4Q70gsNVSmYFV5WD4p Sm9AzgPEovqd5MbxLaaAUrocPyq+KheBZymUdU5C82ftun7cga0VsaWbvYd/Xw== 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 4f0Fnn58B7zVVQ for ; Mon, 26 Jan 2026 17:26:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 42c58 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 26 Jan 2026 17:26:37 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Li-Wen Hsu Subject: git: 97ee3aeb2abf - stable/15 - mkimg(1): Sync mkimg(1) and usage() with the implementation 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: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 97ee3aeb2abf7ad5b38fbfebe7e1730b3e52d2fd Auto-Submitted: auto-generated Date: Mon, 26 Jan 2026 17:26:37 +0000 Message-Id: <6977a3cd.42c58.64ed2e68@gitrepo.freebsd.org> The branch stable/15 has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=97ee3aeb2abf7ad5b38fbfebe7e1730b3e52d2fd commit 97ee3aeb2abf7ad5b38fbfebe7e1730b3e52d2fd Author: Li-Wen Hsu AuthorDate: 2026-01-23 20:55:32 +0000 Commit: Li-Wen Hsu CommitDate: 2026-01-26 17:26:12 +0000 mkimg(1): Sync mkimg(1) and usage() with the implementation Reviewed by: imp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D54419 (cherry picked from commit 3aa8d5395c4223f1613f28d6f39904c2df4f92d4) --- usr.bin/mkimg/mkimg.1 | 54 ++++++++++++++++++++++++++++++++------------------- usr.bin/mkimg/mkimg.c | 3 +++ 2 files changed, 37 insertions(+), 20 deletions(-) diff --git a/usr.bin/mkimg/mkimg.1 b/usr.bin/mkimg/mkimg.1 index ae48904eb16c..d3e6285d110f 100644 --- a/usr.bin/mkimg/mkimg.1 +++ b/usr.bin/mkimg/mkimg.1 @@ -22,7 +22,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 25, 2025 +.Dd December 30, 2025 .Dt MKIMG 1 .Os .Sh NAME @@ -39,6 +39,7 @@ .Op Fl C Ar max_capacity .Op Fl -capacity Ar capacity .Op Fl f Ar format +.Op Fl h .Op Fl o Ar outfile .Op Fl a Ar active .Op Fl t Ar timestamp @@ -144,6 +145,10 @@ option causes any timestamps embedded in the output file to be set to the given time, specified in seconds since the epoch. .Pp The +.Fl h +option prints a usage message and exits. +.Pp +The .Fl v option increases the level of output that the .Nm @@ -301,34 +306,43 @@ may be used multiple times to specify a list of created partition entries. A specification that is a single dash indicates an unused partition entry. Otherwise, a partition specification has the following format: .Bd -literal -offset indent - ':' +[/