Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2024 09:47:29 +0200
From:      Ralf Mardorf <ralf-mardorf@riseup.net>
To:        questions@freebsd.org
Subject:   Re: How to zero a failing disk drive before disposal?
Message-ID:  <d093f0ac42c0bb9c05ce8559c35c56ec55301084.camel@riseup.net>
In-Reply-To: <0bd5d79d35bb036fc73cd226edae1b969b22e3ee.camel@riseup.net>
References:  <5117.1728561469@segfault.tristatelogic.com> <2544410a-8a99-4b2e-a194-c8326a2e0ddd@heuristicsystems.com.au> <0bd5d79d35bb036fc73cd226edae1b969b22e3ee.camel@riseup.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
>=20
> 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/ .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d093f0ac42c0bb9c05ce8559c35c56ec55301084.camel>