2 .TH BADBLOCKS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
4 badblocks \- search a device for bad blocks
25 .IR blocks-count [ start-block ]
28 is used to search for bad blocks on a device (usually a disk partition).
30 is the special file corresponding to the device (e.g
33 is the number of blocks on the device.
37 Specify the size of blocks in bytes.
39 .BI \-o " output_file"
40 Write the list of bad blocks to the specified file. Without this option,
42 displays the list on its standard output. The format of this file is suitable
51 Show the progress of the scan by writing out the block numbers as they
58 Use write-mode test. With this option,
60 scans for bad blocks by writing some patterns (0xaa, 0x55, 0xff, 0x00) on
61 every block of the device, reading every block and comparing the contents.
65 option on an device containing an existing file system.
66 This option erases data!
69 was written by Remy Card <card@masi.ibp.fr>, the developer and maintainer
72 I had no chance to make real tests of this program since I use IDE drives,
73 which remap bad blocks. I only made some tests on floppies.
76 is part of the e2fsprogs package and is available for anonymous
77 ftp from tsx-11.mit.edu in /pub/linux/packages/ext2fs.