From: Andrei Popescu on
On Vi, 16 iul 10, 21:03:42, Andre Majorel wrote:
>
> If you're feeling paranoid, you could fill with junk instead of
> NULs to protect against any optimisation at filesystem level.

<bad joke about perl>yep, that sure looks like junk</bad joke>

> 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)

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
From: Andre Majorel on
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.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100717075521.GC29449(a)aym.net2.nerim.net