mardi 22 décembre 2020

Command line "random"? Seedable random binary data for disk testing

I want to do a quick write test of a SSD (that I bought on ebay).

I want to write a stream of pseudo random data and then read them back and compare.

Something like ("dd" omitted for clarity) :

random $seed > /dev/nvme0n1
random $seed | cmp - /dev/nvme0n1

... with maybe some flags to control "initstate" and buffer size




Aucun commentaire:

Enregistrer un commentaire