Forrest logo
back to context overview

badblocks

List of commands for badblocks:

  • badblocks:tldr:2b3ad badblocks: Search an unmounted disk in destructive mode and output found blocks to a file.
    $ sudo badblocks -o ${filename} -w ${-dev-sdX}
    try on your machine
    explain this command
  • badblocks:tldr:55abf badblocks: Search an unmounted disk in destructive mode with improved speed using 4K block size and 64K block count.
    $ sudo badblocks -w -b ${4096} -c ${65536} ${-dev-sdX}
    try on your machine
    explain this command
  • badblocks:tldr:6cb2f badblocks: Search a disk for bad blocks by using a non-destructive read-only test.
    $ sudo badblocks ${-dev-sdX}
    try on your machine
    explain this command
  • badblocks:tldr:6d512 badblocks: Search an unmounted disk for bad blocks with a destructive write test.
    $ sudo badblocks -w ${-dev-sdX}
    try on your machine
    explain this command
  • badblocks:tldr:89d11 badblocks: Search an unmounted disk for bad blocks with a destructive write test and show verbose status.
    $ sudo badblocks -svw ${-dev-sdX}
    try on your machine
    explain this command
  • badblocks:tldr:c8b78 badblocks: Search an unmounted disk for bad blocks with a non-destructive read-write test.
    $ sudo badblocks -n ${-dev-sdX}
    try on your machine
    explain this command
back to context overview