Last active
July 27, 2026 22:35
-
-
Save henri/4e4578540a32033edf244b72378fa618 to your computer and use it in GitHub Desktop.
badblocks cheatsheet
This file contains hidden or 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
| # run a scan and create a log file badblocks.log | |
| sudo badblocks -v -s -o badblocks.log /dev/sdX # assumes sdX is your raw device | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment