badblocks [options] deviceArguments explained
- Options adjust output or behavior.
- Arguments name the files, services, hosts, or values the command should work with.
Common examples
sudo badblocks -sv /dev/sdbScans /dev/sdb without writing test patterns.
sudo badblocks -wsv /dev/sdbRuns a destructive write-mode test.
| Field | Details |
|---|---|
| Command | badblocks |
| Category | Disk and Storage |
| Primary use | Tests block devices for bad blocks. |
| Syntax | badblocks [options] device |