Results can be a bit, ... interesting if there is a Linux swap partition in
existence.
(That's partition as in DOS/Windows/Linux, not partition as in BSD)
The swap is activated by default and the verification "errors" can be
"interesting".

badblocks probably gives better assurance that the disk is in fact useable.
seems like dd will error and quit if there is a hard error before the end.
flames invited if I am in error.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Andy Hayward
Sent: Thursday, June 02, 2005 6:06 AM
To: [EMAIL PROTECTED]
Cc: misc@openbsd.org
Subject: Re: howto clean disks ?


Ed White wrote:

>Hi,
>
>I'm going to give away some old hard disks and I'm planning to
>delete/overwrite all the data on them. Is there any tool to make this
>automagically ?
>
>
badblocks -s -v -w <device>

I usually keep a Knoppix CD around for this purpose, but its also
available in the e2fsprogs port.

-- ach

Reply via email to