.\" Copyright (c) 1983 Regents of the University of California. .\" All rights reserved. The Berkeley software License Agreement .\" specifies the terms and conditions for redistribution. .\" .\" @(#)drtest.8 6.2 (Berkeley) 5/19/86 .\" .TH DRTEST 8 "May 19, 1986" .UC 5 .SH NAME drtest \- standalone disk test program .SH DESCRIPTION .PP .I Drtest is a standalone program used to read a disk track by track. 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 (by format(8)), you can check that hard errors has been taken care of by running .IR drtest . No hard errors should be found, but in many cases quite a few soft ECC errors will be reported. .PP While .I drtest is running, the cylinder number is printed on the console for every 10th cylinder read. .SH EXAMPLE A sample run of .I drtest is shown below. In this example (using a 750), .I drtest is loaded from the root file system; usually it will be loaded from the machine's console storage device. Boldface means user input. As usual, ``#'' and ``@'' may be used to edit input. .nf .in +5 .sp 1 >>>\fBB/3\fR %% loading hk(0,0)boot Boot : \fBhk(0,0)drtest\fR Test program for stand-alone up and hp driver .sp 1 Debugging level (1=bse, 2=ecc, 3=bse+ecc)? Enter disk name [type(adapter,unit), e.g. hp(1,3)]? \fBhp(0,0)\fR Device data: #cylinders=1024, #tracks=16, #sectors=32 Testing hp(0,0), chunk size is 16384 bytes. \fI(chunk size is the number of bytes read per disk access)\fP Start ...Make sure hp(0,0) is online ... \fI(errors are reported as they occur)\fP ... \fI(...program restarts to allow checking other disks)\fP \fI(...to abort halt machine with ^P)\fP .in -5 .fi .sp 1 .SH DIAGNOSTICS The diagnostics are intended to be self explanatory. Note, however, that the device number in the diagnostic messages is identified as \fItypeX\fR instead of \fItype(a,u)\fR where \fIX\fR = a*8+u, e.g., hp(1,3) becomes hp11. .SH SEE ALSO format(8V), bad144(8) .SH AUTHOR Helge Skrivervik