1 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
2 <link rel="stylesheet" href="style.css" type="text/css"/>
3 <script src="code.js" type="text/javascript"></script>
5 <h1>Testing the badblocks command</h1>
10 background: -webkit-linear-gradient(#000, #eee);
11 -webkit-background-clip: text;
12 -webkit-text-fill-color: transparent;
17 BADBLOCKS(8) System Manager's Manual BADBLOCKS(8)
20 badblocks - search a device for bad blocks
23 badblocks [ -svwnfBX ] [ -b block_size ] [ -c blocks_at_once ] [ -d
24 read_delay_factor ] [ -e max_bad_blocks ] [ -i input_file ] [ -o out‐
25 put_file ] [ -p num_passes ] [ -t test_pattern ] device [ last_block ]
29 badblocks is used to search for bad blocks on a device (usually a disk
30 partition). device is the special file corresponding to the device
31 (e.g /dev/hdc1). last_block is the last block to be checked; if it is
32 not specified, the last block on the device is used as a default.
33 first_block is an optional parameter specifying the starting block num‐
34 ber for the test, which allows the testing to start in the middle of
35 the disk. If it is not specified the first block on the disk is used
38 Important note: If the output of badblocks is going to be fed to the
39 e2fsck or mke2fs programs, it is important that the block size is prop‐
40 erly specified, since the block numbers which are generated are very