From Gentoo Wiki
Jump to: navigation, search
This article is a stub. You can help by expanding it.

F3 (Fight Flash Fraud, or Fight Fake Flash) is an open source, cross platform H2testw clone. It fights fraud by creating a series of files to readable portions of flash memory and does calculations on current read/write speed. It can be useful in determining how much usable storage is actually present on a a device, despite what is on the devices label.


USE flags

USE flags for sys-block/f3 Utilities to detect broken or counterfeit flash storage

extra Build the additional f3probe, f3brew and f3fix utility (requires sys-block/parted and virtual/udev)


root #emerge --ask sys-block/f3


Test write speeds

In order to do a true read test, F3 must first create a series of .hw2 files in the available free space on the device:

root #f3write /path/to/mountpoint

Depending on the size, free space, and write speed of the device, his could take quite a while. Whenever it is finished, it will be possible to test read speeds.

If the f3write command is run again it will delete the files it created during the first runtime and start over. Unless another verification of write speed is needed, it is better to test read speeds after the first invocation.

Test read speeds

After the write test has finished, read speed can be tested using the following command:

root #f3read /path/to/mountpoint

F3 will read though the available .hw2 files and calculate if there are any consistency errors. It will also calculate read speed. It is quite normal for read speed to be faster than write speed, especially on removable media.



root #emerge --ask --depclean --verbose sys-block/f3

See also

  • Hdparm - A command-line utility to set and view hard drive parameters.