badblock.8

来自「操作系统设计与实现源码」· 8 代码 · 共 60 行

8
60
字号


BADBLOCKS(8)              Minix Programmer's Manual               BADBLOCKS(8)


NAME
     badblocks - put a list of bad blocks in a file

SYNOPSIS
     badblocks block_special [block] ...

EXAMPLES

     badblocks /dev/hd1
                         # Handle bad blocks on /dev/hd1

     badblocks /dev/hd3 310 570 1680
                         # Three bad blocks on /dev/hd3

DESCRIPTION

     If a device contains bad sectors,  it  is  important  to  not  have  them
     allocated  to important files.  This program makes it possible to collect
     up to 7 bad blocks into a dummy file, so they will not be allocated for a
     'real'  file.  When  the  program  starts  up,  it asks for a list of bad
     blocks, unless they are provided as arguments.  Then it  creates  a  file
     whose name is of the form .Bad_xxxxx, where xxxxx is a pid.

SEE ALSO
     readall(1).



























                                                                             1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?