💾 Archived View for freeshell.de › tldr › badblocks.gmi captured on 2022-06-11 at 21:27:28. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Search a device for bad blocks.
Some usages of badblocks can cause destructive actions, such as erasing all data on a disk, including the partition table.
sudo badblocks {/dev/sdX}
sudo badblocks -n {/dev/sdX}
sudo badblocks -w {/dev/sdX}
sudo badblocks -svw {/dev/sdX}
sudo badblocks -o {path/to/file} -w {/dev/sdX}
sudo badblocks -w -b {4096} -c {65536} {/dev/sdX}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).