{"id":1455,"date":"2022-07-18T04:34:04","date_gmt":"2022-07-18T07:34:04","guid":{"rendered":"https:\/\/blog.abratel.com.br\/?p=1455"},"modified":"2022-07-22T15:14:42","modified_gmt":"2022-07-22T18:14:42","slug":"testing-sd-card-capacity-and-speed-in-linux","status":"publish","type":"post","link":"https:\/\/blog.abratel.com.br\/?p=1455","title":{"rendered":"Testing SD card capacity and speed \u2013 in Linux"},"content":{"rendered":"<p>Introducing F3<\/p>\n<p>F3 stands for Fight Flash Fraud. This is the main role of the tool. It is available on GitHub but you can also install it as many other Linux apps:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nsudo apt install f3\n\n<\/pre>\n<p><img loading=\"lazy\" width=\"621\" height=\"204\" src=\"https:\/\/blog.abratel.com.br\/wp-content\/uploads\/2022\/07\/word-image.png\" class=\"wp-image-1459\" srcset=\"https:\/\/blog.abratel.com.br\/wp-content\/uploads\/2022\/07\/word-image.png 621w, https:\/\/blog.abratel.com.br\/wp-content\/uploads\/2022\/07\/word-image-300x99.png 300w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/p>\n<p>Once installed, you should insert your SD card into the reader, mount it (if it is not mounted automatically) and start writing the data to the card:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nf3write \/place\/where\/the\/card\/is\/mounted\n\nor if you are using the sd for the SO:\n\nsudo f3write \/etc\n\n<\/pre>\n<p><img loading=\"lazy\" width=\"602\" height=\"234\" src=\"https:\/\/blog.abratel.com.br\/wp-content\/uploads\/2022\/07\/word-image-1.png\" class=\"wp-image-1460\" srcset=\"https:\/\/blog.abratel.com.br\/wp-content\/uploads\/2022\/07\/word-image-1.png 602w, https:\/\/blog.abratel.com.br\/wp-content\/uploads\/2022\/07\/word-image-1-300x117.png 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<p>This will take some time. For the slow cards and slow readers, it can take even a few hours. The tool is writing files to the card, filling them with pseudo-random data. The messages displayed by the tool looks as follows:<\/p>\n<p>The tool is informing about the progress \u2013 in percentage and time left. There is also a write speed displayed.<\/p>\n<p>Once the writing is done, you can immediately test it with f3read. In my case, I prefer to unmount the drive and mount it again. Just in case. The command syntax is also straight forward:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nf3read \/place\/where\/the\/card\/is\/mounted\n\nor if you are using the sd for the SO:\n\nsudo f3read \/etc\n\n<\/pre>\n<p>The tool is reading files one by one, checking if the data matches what was written. The output looks like this:<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introducing F3 F3 stands for Fight Flash Fraud. This is the main role of the tool. It is available on GitHub but you can also install it as many other Linux apps: Once installed, you should insert your SD card into the reader, mount it&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1458,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1455"}],"collection":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1455"}],"version-history":[{"count":2,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1455\/revisions"}],"predecessor-version":[{"id":1462,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/1455\/revisions\/1462"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/media\/1458"}],"wp:attachment":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}