badblock.8
来自「操作系统设计与实现源码」· 8 代码 · 共 32 行
8
32 行
.TH BADBLOCKS 8.SH NAMEbadblocks \- put a list of bad blocks in a file.SH SYNOPSIS\fBbadblocks \fIblock_special\fR [\fIblock\fR] ...\fR.br.de FL.TP\\fB\\$1\\fR\\$2...de EX.TP 20\\fB\\$1\\fR# \\$2...SH EXAMPLES.EX "badblocks /dev/hd1 " "Handle bad blocks on \fI/dev/hd1\fP".EX "badblocks /dev/hd3 310 570 1680 " "Three bad blocks on \fI/dev/hd3\fP".SH DESCRIPTION.PPIf a device contains bad sectors, it is important to not have themallocated to important files. This program makes it possible to collectup 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, unlessthey are provided as arguments.Then it creates a file whose name is of theform \fI.Bad_xxxxx\fR, where \fIxxxxx\fR is a pid..SH "SEE ALSO".BR readall (1).
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?