Created
December 31, 2018 00:47
-
-
Save bbarrows/5ccc8500269e8bce10f83abbf53973d5 to your computer and use it in GitHub Desktop.
Using badblocks tools to verify if an SD Card is broken or not
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# The -w is using a DESTRUCTIVE WRITE TEST | |
sudo badblocks -v -s -w /dev/mmcblk0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment