Security Basics mailing list archives

Re: Simple but effective Disk Wipe Software


From: Florian Streck <streck () papafloh de>
Date: Tue, 9 Nov 2004 19:59:43 +0100

Hi,

/dev/random might be a good tip but it's to slow.
Better use /dev/urandom. Otherwise you'll wait weeks for a harddisk to
be overwriten.
On my machine /dev/random needs about "real    0m10.979s" for the command
dd if=/dev/random of=/tmp/test4 bs=1024 count=10
and 
dd if=/dev/urandom of=/tmp/test5 bs=1024 count=10
took "real    0m0.008s" .

By the way, does anybody know why the above command with /dev/random
resulted in a filesize of:
-rw-r--r--  1 streck users   810 Nov  9 19:40 /tmp/test4
and with /dev/urandom I got:
-rw-r--r--  1 streck users 10240 Nov  9 19:40 /tmp/test5
So "radom" gave a much to small file while "urandom" gave me exactly
what I expected.

Bye, Florian 

My Director does not want to spend any money as he feel's a standard
"format" will suffice; therefore I guess a Linux solution is the best.  I am

hummm .. he's correct to not spend $$$ 

wondering what people would recommend, we do not have High Classified
documents put I would like something a little more than a standard format.

loop 10x 
  dd if=/dev/random of=/dev/hda
done

-- 
Keep on keepin' on.

Attachment: _bin
Description:


Current thread: