F3 - Fight Flash Fraud
f3 is a simple tool that tests flash cards capacity and performance to see if they live up to claimed specifications. It fills the device with pseudorandom data and then checks if it returns the same on reading.
sudo apt install f3
use
estos comandos destruyen la información existente del dispositivo
sudo f3probe --destructive --time-ops <device>
f3fix –last-sec=16477878 <device>
: comando sugerido si el dispositivo es un fake (varía el parámetro last-sec). Crea una partición «segura» en el dispositivo.
docker
docker run -it –rm –device <device> peron/f3 <f3-command> [<f3-options>] <device>
- ejemplo:
docker run -it –rm –device /dev/sdb peron/f3 f3probe --destructive --time-ops /dev/sdb