badblocks is a Linux utility to check for bad sectors on a disk drive. It creates a list of these sectors that can be used with other programs, like mkfs, so that they are not used in the future and thus do not cause corruption of data. It is part of the e2fsprogs project, and a port is available for BSD operating systems.

When run as a standalone program, badblocks gives a list of blocks with problems, if any. This makes it a good option for checking if the disk drive is ok independently from SMART data and file system checks.

Read more about BadblocksE2fsck's "-c" Option, Examples, Badblocks's "-c" Option

Other articles related to "badblocks":

Badblocks's "-c" Option
... badblocks has a "-c" option that lets users set the number of blocks it tests at a time ... This option usually has little or no effect on scan speed ...