X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=2019-fosdem%2F6450-plugins-shell-what.html;h=caa0bbd2a728cfe99e03a6c61f2b86af99e65ff7;hb=c644cd8414d1edba2b07a46cb192500cddea6157;hp=a1ea8ea3924456c1954f45b45c701b11516c6010;hpb=4507e94c3ba68dbf455a9399de5f4ac1732eb5b7;p=libguestfs-talks.git diff --git a/2019-fosdem/6450-plugins-shell-what.html b/2019-fosdem/6450-plugins-shell-what.html index a1ea8ea..caa0bbd 100644 --- a/2019-fosdem/6450-plugins-shell-what.html +++ b/2019-fosdem/6450-plugins-shell-what.html @@ -4,6 +4,38 @@
+BADBLOCKS(8) System Manager's Manual BADBLOCKS(8) + +NAME + badblocks - search a device for bad blocks + +SYNOPSIS + badblocks [ -svwnfBX ] [ -b block_size ] [ -c blocks_at_once ] [ -d + read_delay_factor ] [ -e max_bad_blocks ] [ -i input_file ] [ -o outâ + put_file ] [ -p num_passes ] [ -t test_pattern ] device [ last_block ] + [ first_block ] + +DESCRIPTION + badblocks is used to search for bad blocks on a device (usually a disk + partition). device is the special file corresponding to the device + (e.g /dev/hdc1). last_block is the last block to be checked; if it is + not specified, the last block on the device is used as a default. + first_block is an optional parameter specifying the starting block numâ + ber for the test, which allows the testing to start in the middle of + the disk. If it is not specified the first block on the disk is used + as a default. + + Important note: If the output of badblocks is going to be fed to the + e2fsck or mke2fs programs, it is important that the block size is propâ + erly specified, since the block numbers which are generated are very +