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

Alexander Ziaee <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by ziaee:

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

commit 89907591a8c447ef8fe816b71cf339977f9f2a6e
Author:     Linus Ågren <[email protected]>
AuthorDate: 2025-05-26 10:12:22 +0000
Commit:     Alexander Ziaee <[email protected]>
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
 ....
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.