find_badblocks is a script that finds bad blocks on all locally attached disks on a Linux system. It determines the block size used for each partition and passes this to badblocks so that identified blocks can be correctly be mapped to filesystem blocks and inodes.