Re: How to zero a failing disk drive before disposal?

From: Ralf Mardorf <ralf-mardorf_at_riseup.net>
Date: Fri, 11 Oct 2024 07:47:29 UTC
On Fri, 2024-10-11 at 09:12 +0200, Ralf Mardorf wrote:
> After countless discussions [...] I am firmly convinced that it is
> sufficient for a private household to overwrite just 1 time.
> 
> The problem with the Lunchbucket family's HDDs is that they only
> replace them when they are defective anyway.

For sure we will not use kind of a shred program that tries to overwrite
files, we will use kind of a dd command with a random pattern, zeros or
else.

On Thu, 2024-10-10 at 04:57 -0700, Ronald F. Guilmette wrote:
> I could just dd /dev/zero to the thing.  But there's a catch.
> According to what I have read, dd will halt if it encounters a write
> error.

By

https://unix.stackexchange.com/questions/229354/how-to-ignore-write-errors-while-zeroing-a-disk

a "sdd" command is mentioned, wich seems to be provided by
https://sourceforge.net/projects/schilytools/files/

and it might be available for FreeBSD,
https://www.freshports.org/devel/schilybase .

FWIW the Arch User repository provides schily-tools-sdd, but Arch Linux
doesn't provide a live media. Ubuntu and friends provide a live media,
but they don't provide schilytools, but it might build without issues on
an Ubuntu or so live media,
https://www.unixmen.com/install-schily-tools-on-linux/ .