Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} Preparing a laptop for sale
Date: Thu, 17 Dec 2009 15:52:17
Message-Id: 200912171651.36053.wonko@wonkology.org
1 Joshua Murphy writes:
2
3 > A) To fill the drive with zeros:
4 > dd if=/dev/zero of=/dev/<drive>
5
6 Should be enough for practical purposes.
7
8 > B) And, to make it at least questionable whether you wiped it or
9 > merely had it encrypted:
10 > dd if=/dev/urandom of=/dev/<drive>
11
12 Similar method, but faster: badblocks -t random -w /dev/<drive>
13 You can interrupt this after the first pass when the reading & comparing
14 part starts.
15
16 Wonko