source: trunk/minix/man/man8/badblocks.8@ 22

Last change on this file since 22 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 922 bytes
Line 
1.TH BADBLOCKS 8
2.SH NAME
3badblocks \- put a list of bad blocks in a file
4.SH SYNOPSIS
5\fBbadblocks \fIblock_special\fR [\fIblock\fR] ...\fR
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH EXAMPLES
18.EX "badblocks /dev/hd1 " "Handle bad blocks on \fI/dev/hd1\fP"
19.EX "badblocks /dev/hd3 310 570 1680 " "Three bad blocks on \fI/dev/hd3\fP"
20.SH DESCRIPTION
21.PP
22If a device contains bad sectors, it is important to not have them
23allocated to important files. This program makes it possible to collect
24up to 7 bad blocks into a dummy file, so they will not be allocated for a
25\&'real\&' file.
26When the program starts up, it asks for a list of bad blocks, unless
27they are provided as arguments.
28Then it creates a file whose name is of the
29form \fI.Bad_xxxxx\fR, where \fIxxxxx\fR is a pid.
30.SH "SEE ALSO"
31.BR readall (1).
32
33.\"
34.\" $PchId: badblocks.8,v 1.2 1998/07/27 19:47:04 philip Exp $
Note: See TracBrowser for help on using the repository browser.