Filling a drive with /dev/urandom seems to be very slow, so I created a file filled with FF:dd if=/dev/zero ibs=1k count=1000 | tr \000 \377 >ff.binI'd like to fill the drive with copies of this file but the following command only writes once:dd if=ff.bin of=/dev/sdb count=10000How do I fill the drive with copies of the file, or is there a faster way to fill the drive with 1's?
how to use dd to fill drive with 1's
dd