.\" Copyright (c) 1983, 1991 Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)drtest.8 6.3 (Berkeley) %G%
.Nd standalone disk test program
is a standalone program used to read a disk
It was primarily intended as a test program
for new standalone drivers, but has shown
useful in other contexts as well, such as
verifying disks and running speed
tests. For example, when a disk has been formatted
hard errors has been taken care of by running
No hard errors should be found, but in many cases
is running, the cylinder number is printed on
the console for every 10th cylinder read.
In this example (using a 750),
is loaded from the root file system;
will be loaded from the machine's
console storage device. Boldface means user input.
As usual, ``#'' and ``@'' may be used to edit input.
.Bd -unfilled -offset indent -compact
.Li \&loading hk(0,0)boot
.Li \&: Sy \&hk(0,0)drtest
.Li Test program for stand-alone up and hp driver
.Li Debugging level (1=bse, 2=ecc, 3=bse+ecc)?
.Li Enter disk name [type(adapter,unit),\ e.g.\ hp(1,3)]? Sy hp(0,0)
.Li Device data: #cylinders=1024, #tracks=16, #sectors=32
.Li Testing hp(0,0), chunk size is 16384 bytes.
.Em (chunk\ size\ is\ the\ number\ of\ bytes read per disk access)
.Li Start ...Make sure hp(0,0) is online
.Em (errors are reported as they occur)
.Em (...program restarts to allow checking other disks)
.Em (...to abort halt machine with \&^P)
The diagnostics are intended to be self explanatory. Note, however, that
in the diagnostic messages is identified as
\&= a*8+u, e.g., hp(1,3) becomes hp11.