4 ms·
It's really much simpler than that: cd head --bytes=your_card_size /dev/random > tmp sha1sum tmp cp tmp /media/your_card sha1sum /media/your_card/tmp
by ake111 15y ago
It's really much simpler than that:
cd
head --bytes=your_card_size /dev/random > tmp
sha1sum tmp
cp tmp /media/your_card
sha1sum /media/your_card/tmp
- JonnieCache 15y agoNever considered using head to get a bytestream from /dev/random. I've always used dd. Thanks for the tip!
- eru 15y agoIf you are on linux, use /dev/urandom.