[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: simple way to securely destroy deleted files in a file system



On 2010-07-16 23:43 +0300, Andrei Popescu wrote:
> On Vi, 16 iul 10, 21:03:42, Andre Majorel wrote:
> 
> >   perl -e '$bytes = int (1e4 + 1e6 * rand);
> >     for $n (1..$bytes) { $noise .= chr (int (rand (256))) }
> >     while (print $noise) {}' >/mnt/sdc1/zeros.bin; sync
> 
> dd if=/dev/random of=/bigfile_to_fill_the_disk
> 
> (or /dev/urandom if /dev/random is too slow)

You could do that, but why would you want to ? /dev/urandom is way
too slow to saturate a disk.

-- 
André Majorel <http://www.teaser.fr/~amajorel/>
bugs.debian.org - serving the spamming community for more than a decade.


Reply to: