2005-05-02 15:01:42 +02:00
|
|
|
.TH READALL 1
|
|
|
|
.SH NAME
|
|
|
|
readall \- read a device quickly to check for bad blocks
|
|
|
|
.SH SYNOPSIS
|
|
|
|
\fBreadall\fR [\fB\-bt\fR] \fIfile\fR
|
|
|
|
.br
|
|
|
|
.de FL
|
|
|
|
.TP
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
\\$2
|
|
|
|
..
|
|
|
|
.de EX
|
|
|
|
.TP 20
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
# \\$2
|
|
|
|
..
|
|
|
|
.SH OPTIONS
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 5
|
|
|
|
.B \-b
|
|
|
|
# Produce shell script on \fIstdout\fR that calls \fIbadblocks\fR
|
|
|
|
.TP 5
|
|
|
|
.B \-t
|
|
|
|
# Just print device size
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH EXAMPLES
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 20
|
|
|
|
.B readall /dev/hd0
|
|
|
|
# Read all of \fI/dev/hd0\fR
|
|
|
|
.TP 20
|
|
|
|
.B readall -b /dev/hd1 >s
|
|
|
|
# Generate shell script on \fIs\fR
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
\fIReadall\fR reads all of the named device in large chunks.
|
|
|
|
It reports about blocks that it cannot read.
|
|
|
|
Unlike \fIdiskcheck\fR, it does not attempt to write on
|
|
|
|
the disk, making it safer to use when one is worried about a sick system.
|
|
|
|
When the \fB\-b\fR flag is given, the output is a shell script that
|
|
|
|
calls the \fIbadblocks\fR program to marked all the bad blocks.
|
|
|
|
Whenever installing
|
2005-08-22 14:56:02 +02:00
|
|
|
\s-1MINIX 3\s-1,
|
2005-05-02 15:01:42 +02:00
|
|
|
it is wise to run \fIreadall\fR with the \fB\-b\fR flag first on all
|
|
|
|
the hard disks.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR badblocks (8).
|