New options were added to the rndbytes program:
- -n
to generate an ``endless'' sequence of random byte blocks.
- -p
to use process ID, date an time in addition to other information to
seed the PRNG.
To erase an entire disk run
rndbytes -x -p -n -b 512 | dd of=/dev/sdb bs=512
multiple times to overwrite the entire disk and
dd if=/dev/zero of=/dev/sdb bs=512
once to provide a ``new'' empty disk for formatting programs or
software installation programs.
Note: The /dev/sdb device was used just as an example. Make
sure to provide the correct device name for your disk instead.
Note: Using pseudo-random data to overwrite an entire disk
may take a long time. Consider to use edbp and run multiple passes instead.