2 ms·
That said, it should be noted that there are still USB flash drives in the wild that do no error detection. It's a pity that `badblocks` is so poorly supported
by o11c 3y ago
That said, it should be noted that there are still USB flash drives in the wild that do no error detection. It's a pity that `badblocks` is so poorly supported these days ...
- supertrope 3y agoI thought cheap flash devices are only usable products because of error correction. USB flash drives and memory cards use reject tier NAND and compensate by pre-marking bad sectors and heavy ECC. Your files exist as a probabilistic approximation.
- o11c 3y agoI suppose it's possible that they simply do not enough error corruption, but given that I don't get IO errors, only wrong data, I doubt it. Typical algorithms work like: * 1 bad bit is corrected * 2 bad bits produce an error. Since there's nothing else meaningful to do, this can only propagate to the higher layer. * 3 or more bad bits may produce wrong data or an error so we wouldn't expect to hit case 3 without hitting case 2.