BADBLOCK.8
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- 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