Lurker News
Back to discussion

Comment by sarciszewski

sarciszewski2 replies#
wait, you mean "sudo shred /dev/sda1 &"?
DanWaterworth2 replies#
wait, �ջ;Y?�2�c�Ig7aus�_1��S���^���{9��§5�?�a B'����W�E��ʧ�X*C��J�4���ѡ�s�]q������a]���
jerf1 reply#
Random binary dumps aren't what they used to be. You should manually decode some 8-bit ascii by hand:

    $ python
    Python 2.7.6
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import random
    >>> print(''.join([chr(random.randint(32,255))
         for x in range(50)]).decode("latin-1"))
    ¿IBÄõq½¦Áºn}@õÖhzUÌÓQ£m5ë¢ümÇ®=ÇÆªLÛHt
Now that's quality random binary garbage.
mncolinlee#
Someone needs to write a JAPH of "sudo shred /dev/sda1 &"
ryan-c1 reply#

    dd if=/dev/zero of=/dev/sda bs=1M &
would be worse. `shred` is slow.
vortico#
And dd if=/dev/urandom of=/dev/sda & is probably faster than shred, but I could be wrong as it might be doing essentially that.