Gentoo Archives: gentoo-user

From: Adam <adam@××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} Preparing a laptop for sale
Date: Thu, 17 Dec 2009 09:50:12
Message-Id: 4B29FF52.2070108@jaftan.com.au
In Reply to: Re: [gentoo-user] {OT} Preparing a laptop for sale by Alan McKinnon
1 >> dd is pretty thorough... afterall, it writes to every single block on the
2 >> disk.
3 >>
4 >
5 > And the resulting effect from doing that once is:
6 >
7 > Trivially easy to recover the data that was there just before you did the dd
8 >
9 > Why? Data on-disk is not a binary cell like ram. It is a magnetic pattern and
10 > the pattern from the previous write is still there IIF you know how to find it
11
12 Agreed, using all zeros will just change the magnitude of the field,
13 which will make it more difficult to read, but the underlying data will
14 largely remain. You should use random data so with dd you could use
15 if=/dev/random but that would be horribly slow so maybe if=/dev/urandom.
16 But why bother when there's a tool like shred. I boot a Knoppix cd then
17 use it on the raw device as i cant see any point in doing each partition
18 separately.