You can wipe your drive with:

dd if=/dev/zero of=/dev/[device to be wiped]

followed by:

dd if=/dev/urandom of=/dev/[device to be wiped]

repeat 7 times per device if you want the DoD standard for wiping a drive.
If you would like to save time/trouble drop the sequence in a script.
Plenty of examples on the web.  One pass is usually good for most ppl tbh.
Though I did do a recovery once that rebuilt the last 3 OS installs on the
server...  but if you trust the person you are giving them too not to care
then one pass should do.

-- Fred

On Fri, Jan 25, 2019 at 8:25 PM Gordon Messmer <[email protected]>
wrote:

> On 1/25/19 6:45 PM, Jonathan Ryshpan wrote:
> > Is there a quicker way to protect my data when I give the drives away,
> > other than smashing the drives to bits?
>
>
> The quickest would be to encrypt the drives from the beginning. When you
> want to discard the drives, you just need to wipe the LUKS header.  With
> the key wiped out, the rest of the drive is just random bits.
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/[email protected]
>
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to