source: trunk/minix/man/man1/readall.1@ 11

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

Minix 3.1.2a

File size: 1005 bytes
RevLine 
[9]1.TH READALL 1
2.SH NAME
3readall \- read a device quickly to check for bad blocks
4.SH SYNOPSIS
5\fBreadall\fR [\fB\-bt\fR] \fIfile\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 OPTIONS
18.FL "\-b" "Produce shell script on \fIstdout\fR that calls \fIbadblocks\fR"
19.FL "\-t" "Just print device size"
20.SH EXAMPLES
21.EX "readall /dev/hd0" "Read all of \fI/dev/hd0\fR"
22.EX "readall -b /dev/hd1 >s" "Generate shell script on \fIs\fR"
23.SH DESCRIPTION
24.PP
25\fIReadall\fR reads all of the named device in large chunks.
26It reports about blocks that it cannot read.
27Unlike \fIdiskcheck\fR, it does not attempt to write on
28the disk, making it safer to use when one is worried about a sick system.
29When the \fB\-b\fR flag is given, the output is a shell script that
30calls the \fIbadblocks\fR program to marked all the bad blocks.
31Whenever installing
32\s-1MINIX 3\s-1,
33it is wise to run \fIreadall\fR with the \fB\-b\fR flag first on all
34the hard disks.
35.SH "SEE ALSO"
36.BR badblocks (8).
Note: See TracBrowser for help on using the repository browser.