Binary package “f3” in ubuntu trusty

test real flash memory capacity

 F3 (Fight Flash Fraud or Fight Fake Flash) tests the full capacity of a
 flash card (flash drive, flash disk, pendrive).
 .
 F3 writes to the card and then checks if can read it. It will assure you
 haven't been sold a card with a smaller capacity than stated.