Re: disk non-destructive bad-block write/fix?

From: David Christensen <dpchrist_at_holgerdanske.com>
Date: Mon, 26 Sep 2022 09:25:23 UTC
On 9/25/22 19:09, Gary Aitken wrote:

> On 9/19/22 11:45 PM, grarpamp wrote:
>> Store a sha256 of all the files, read them back to verify and compare
>> to that.
> 
> Can you post a script that does this?  (Save me (and others?) some effort).


The power tool is mtree(8):

https://www.unix.com/man-page/freebsd/8/mtree/


See this thread for more information:

https://lists.freebsd.org/archives/freebsd-questions/2022-September/001867.html


David