BADBLOCK.8
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH BADBLOCKS 8
- .SH NAME
- badblocks - put a list of bad blocks in a file
- .SH SYNOPSIS
- fBbadblocks fIblock_specialfR [fIblockfR] ...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/hd1fP"
- .EX "badblocks /dev/hd3 310 570 1680 " "Three bad blocks on fI/dev/hd3fP"
- .SH DESCRIPTION
- .PP
- 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 fI.Bad_xxxxxfR, where fIxxxxxfR is a pid.
- .SH "SEE ALSO"
- .BR readall (1).