git: 89907591a8 - main - handbook/bsdinstall: Quiet sha256sum checks

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Thu, 04 Dec 2025 20:25:14 UTC
The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/doc/commit/?id=89907591a8c447ef8fe816b71cf339977f9f2a6e

commit 89907591a8c447ef8fe816b71cf339977f9f2a6e
Author:     Linus Ågren <linus@agren.cc>
AuthorDate: 2025-05-26 10:12:22 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-12-04 20:17:53 +0000

    handbook/bsdinstall: Quiet sha256sum checks
    
    Instead of specifying the filename to be checked, use --ignore-missing,
    which only returns output for successful checks. This flag is present on
    both BSD and Linux.
    
    Reviewed by:    ziaee
    Closes:         https://github.com/freebsd/freebsd-doc/pull/399
---
 documentation/content/en/books/handbook/bsdinstall/_index.adoc | 2 +-
 documentation/content/ja/books/handbook/bsdinstall/_index.adoc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/content/en/books/handbook/bsdinstall/_index.adoc b/documentation/content/en/books/handbook/bsdinstall/_index.adoc
index 79234d2dc6..2712331049 100644
--- a/documentation/content/en/books/handbook/bsdinstall/_index.adoc
+++ b/documentation/content/en/books/handbook/bsdinstall/_index.adoc
@@ -193,7 +193,7 @@ Verifying the _checksum_ in FreeBSD can be done automatically using man:sha256su
 
 [source,shell]
 ....
-% sha256sum -c CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64 FreeBSD-13.1-RELEASE-amd64-dvd1.iso
+% sha256sum -c CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64 --ignore-missing
 FreeBSD-13.1-RELEASE-amd64-dvd1.iso: OK
 ....
 
diff --git a/documentation/content/ja/books/handbook/bsdinstall/_index.adoc b/documentation/content/ja/books/handbook/bsdinstall/_index.adoc
index 50b4a24046..f2201f5957 100644
--- a/documentation/content/ja/books/handbook/bsdinstall/_index.adoc
+++ b/documentation/content/ja/books/handbook/bsdinstall/_index.adoc
@@ -178,7 +178,7 @@ FreeBSD での _チェックサム_ の検証は、以下のように man:sha256
 
 [source,shell]
 ....
-% sha256sum -c CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64 FreeBSD-13.1-RELEASE-amd64-dvd1.iso
+% sha256sum -c CHECKSUM.SHA256-FreeBSD-13.1-RELEASE-amd64 --ignore-missing
 FreeBSD-13.1-RELEASE-amd64-dvd1.iso: OK
 ....