minix/man/man1/readall.1
2012-03-31 23:47:03 +02:00

44 lines
1,019 B
Groff

.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
.TP 5
.B \-b
# Produce shell script on \fIstdout\fR that calls \fIbadblocks\fR
.TP 5
.B \-t
# Just print device size
.SH EXAMPLES
.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
.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
\s-1MINIX 3\s-1,
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).