4 ms·
On that topic, a tool named f3 exists to test the capacity of that flash drive/card you just bought from Amazon. https://github.com/AltraMayor/f3/ https://gith
by cataflam 7y ago
On that topic, a tool named f3 exists to test the capacity of that flash drive/card you just bought from Amazon.
https://github.com/AltraMayor/f3/ https://github.com/AltraMayor/f3/
- rini17 7y agoIt appears to use hardwired PRNG. Admittedly it's a stretch to imagine flash manufacturers adding f3 defeat feature to firmware, but it's possible. I prefer using bulletproof AES data like: 1. yes | openssl aes-256-cbc -e -out /media/drive/testfile 2. eject /media/drive 3. physically reconnect and mount the drive 4. openssl aes-256-cbc -d -in /media/drive/testfile | grep -q '[^y]'
- colejohnson66 7y agoWhy use pseudorandom or encrypted data? Why not just write the sector number to each sector? For example, in sector 0, write an int64(0). Then read back and check.
- rini17 7y agoMany drives use compression already :)