[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-Disclosure] Erasing a hard disk easily
- To: <full-disclosure@xxxxxxxxxxxxxxxx>
- Subject: Re: [Full-Disclosure] Erasing a hard disk easily
- From: Maarten <fulldisc@xxxxxxxxxxxx>
- Date: Wed, 14 Jul 2004 10:05:38 +0200
On Wednesday 14 July 2004 04:23, Aditya, ALD [ Aditya Lalit Deshmukh ] wrote:
> > I'm guessing that drilling a hole in the case, pouring in some sand and
> > firing up the disk would probably do a good job of rendering the data
> > non-readable too ;>
>
> since the original poster only wanted to clean up the harddisk for
> donations so that no one can read the disks I think the Linux approach is
> the best one
>
>
> dd if=/dev/zero of=/dev/hd? ; dd if=/dev/urandom of=/dev/hd?
I agree. But be advised that using /dev/urandom is several orders of
magnitude slower than either /dev/zero or /dev/full, so if you're not
paranoid or the data isn't that sensitive, you might want to opt for only
writing zeros and ones instead...
maarten@cypher:~> time dd if=/dev/urandom of=/dev/null count=10000
10000+0 records in
10000+0 records out
real 0m4.770s
user 0m0.016s
sys 0m4.513s
maarten@cypher:~> time dd if=/dev/zero of=/dev/null count=10000
10000+0 records in
10000+0 records out
real 0m0.269s
user 0m0.020s
sys 0m0.019s
Maarten
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html