Co robi BADBLOCKS użycie. Konsola on the device (block-count ). e2fsck and mke2fs will invoke.

Czy przydatne?

Polecenie badblocks

Wykonanie, użycie: System administration command. Search device for bad blocks. You must specify the number of blocks on the device (block-count). e2fsck and mke2fs will invoke badblocks automatically when given the -c option

Opcje wykonania badblocks w konsoli

-b blocksize

Expect blocksize-byte blocks.

-c blocksize

Test blocksize-byte blocks at a time. Default is 16.

-f

Force a read/write or nondestructive write test on a mounted device. Use only when /etc/mtab incorrectly reports a device as mounted.

-i file

Skip test of known bad blocks listed in file.

-n

Perform a nondestructive test by writing to each block and then reading back from it while preserving data.

-o file

Direct output to file.

-p number

Repeat search of device until no new bad blocks have been found in number passes. Default is 0.

-s

Show block numbers as they are checked.

-t pattern

Test blocks by reading and writing the specified pattern. You may specify pattern as a positive integer or as the word random. If you specifiy multiple patterns, badblocks will test all blocks with one pattern, and then test all blocks again with the next pattern. Read-only mode will accept only one pattern. It will not accept random.

-v

Verbose mode.

-w

Test by writing to each block and then reading back from it.

Przykłady badblocks działanie w Słownik polecenie B

Przykład BADBLOCKS użycie :
Jak użyć Applies less to datafiles in the bzip2 format without requiring on-disk decompression. See bzip2 and less for usage co znaczy.
Przykład BADBLOCKS użycie :
Jak użyć a poster. If no characters are supplied, banner prompts for them and reads an input line from standard input. By default, the results go to standard output, but they are intended to be sent to a krzyżówka.
Przykład BADBLOCKS użycie :
Jak użyć Apply grep to data from files in the bzip2 format without requiring on-disk decompression. See bzip2 and grep for usage co to jest.
Przykład BADBLOCKS użycie :
Jak użyć Apply diff to data from files in the bzip2 format without requiring on-disk decompression. See bzip2 and cmp for usage słownik.
Przykład BADBLOCKS użycie :
Jak użyć containing context-free grammar, convert into tables for subsequent parsing while sending output to file.c . To a large extent, this utility is compatible with yacc , and is in fact named for it. All czym jest.