[Nottingham] Secure deletion of files

Martin martin at ml1.co.uk
Wed May 25 19:08:07 BST 2005


Michael Simms wrote:
> If you dont mind losing the partition contents, or can copy them to
> another partition (which will only copy actual files not deleted ones)
> you can dd the disc partition from /dev/zero or /dev/random to blank it

"/dev/urandom" is a better bet. "/dev/random" will pause when you 
exhaust the random entropy pool of bits, whereas urandom will give you 
as many bytes as you ask for.

See "man 4 random"

And then there is:
> completely (dd if=/dev/zero of=/dev/hdb1 for example).


Good luck,
Martin


-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list