Name

badblocks

Synopsis

badblocks [options] device block-count

Description

System administration command. Search device for bad blocks. You must specify the number of blocks on the device (block-count).

Options

-b blocksize

Expect blocksize-byte blocks.

-o file

Direct output to file.

-v

Verbose mode.

-w

Test by writing to each block and then reading back from it.

Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.