# Fight Flash Fraud

Tool to test flash cards' capacity and performance.

1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
   1. [Sources](#sources)

## TL;DR

It fills tested devices with pseudorandom data, then checks they return the same data on reading.

<details>
  <summary>Setup</summary>

```sh
brew install 'f3'
docker pull 'peron/f3'
port install 'f3'
```

</details>

<details>
  <summary>Usage</summary>

```sh
# Test drives
# Destroys stored data
sudo f3probe --destructive --time-ops '/dev/sdb'
docker run -it --rm --device '/dev/sdb' 'peron/f3' f3probe --destructive --time-ops '/dev/sdb'
```

</details>

<!-- Uncomment if used
<details>
  <summary>Real world use cases</summary>

```sh
```

</details>
-->

## Further readings

- [Codebase]

### Sources

- [Documentation]

<!--
  Reference
  ═╬═Time══
  -->

<!-- In-article sections -->
<!-- Knowledge base -->
<!-- Files -->
<!-- Upstream -->
[codebase]: https://github.com/AltraMayor/f3
[documentation]: https://fight-flash-fraud.readthedocs.io/en/stable/

<!-- Others -->
