Polecenie badblocks
Wykonanie: 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
Expect blocksize-byte blocks. Test blocksize-byte blocks at a time. Default is 16. Force a read/write or nondestructive write test on a mounted device. Use only when /etc/mtab incorrectly reports a device as mounted. Skip test of known bad blocks listed in file. Perform a nondestructive test by writing to each block and then reading back from it while preserving data. Direct output to file. Repeat search of device until no new bad blocks have been found in number passes. Default is 0. Show block numbers as they are checked. 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. Verbose mode. Test by writing to each block and then reading back from it.
Więcej komend LINUX z konsoli na literę B
Jak uruchomić badblocks w Linuxie?
badblocks [options] device block-count
Podobne polecenia Unix:
- ul [options] [names] - Translate underscores to underlining. The process
- groupmod [options] group - System administration command. Modify group
- apt - The Advanced Package Tool, the Debian package
- netstat [options] [delay] - TCP/IP command. Show network status. Print
- lpr [options] [files] - Send files to be printed. If no files are given
