home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
utils1
/
dt10.arj
/
DT10.DOC
< prev
Wrap
Text File
|
1993-06-28
|
4KB
|
97 lines
Program: Drive Test Copyright 1993 All Rights Reserved
Version: 1.0
Author: George Spafford
Date: June 28, 1993
PURPOSE:
To provide users a simple way to test data integrity to a disk drive that
is may be faulty.
HOW DOES IT DO IT?
DT writes a data file called ##TEST##.DT to the root directory of the drive
that is being tested. Once it has written all of the data, it then reads in
each record to see if it is what it expects. If it does not find a matching
record and for some reason the program doesn't detect a DOS error code, it will
tell you the record number and the byte location in the record where the error
is identified.
All calls are made using the BIOS and DOS services. There are NO DIRECT device
calls made! For example, I do not use READ SECTOR (Int 13H Funct 02H) or WRITE
SECTOR (Int 13H Funct 03H). The program does not identify the exact cause of
an error, merely that an error does exist.
Usage:
DT [switches]
MAKE SURE YOU HAVE SPACES BETWEEN THE SWITCHES - IF YOU DO NOT, DT
WILL NOT BE ABLE TO INTERPRET THE SWITCHES CORRECTLY.
/C Specifies that the /L: log file is to be created and
not simply appended to.
/D:d Drive to test. "d" is the drive letter.
/L:logto Specifies the file name or device to log to.
"logto" is the name. By default, data is appended to
this. /C must be specified if you want to create a
new file and NOT append.
/N:nnnn Specifies how many records to write. "nnnn" is the
number. 10,000 is the default.
If you are processing a directory test, this is how
many directory entry reads that CT will perform.
/P:pppp Specifies the number of test passes. "pppp" is the
number. 1 is the default.
/S:sss Specifies the individual record sizes. "sss" is the
record size. The default is 2048 bytes. Specify the
total size that you want a record to be.
THE MAXIMUM VALUE FOR THIS IS 16,384. IF YOU GET A
STRING SPACE ERROR, YOU WILL NEED TO MAKE THIS VALUE
SMALLER THAN WHAT YOU SET IT AT.
/W Pause after each screen.
/X Exclude screen writes during the testing phase to
remove the video bottlenecks.
STOPPING THE PROGRAM:
CONTROL-BREAK will terminate the program execution safely. Note, you will
probably leave a file named ##TEST##.DT in the root directory of the drive
that you were testing. You will need to delete that by hand OR DT will delete
it the next time it is run.
And for those of you that are wondering, yes, the framework to this program
did come from my Cache Test program.
HISTORY:
V1.0 06/28/93
Initial shareware release.
REGISTRATION:
I hope this program helps you evaluate some of your problems
or even makes some solutions/benefits clear. This program is
released as shareware. Its price is $10 for each concurrently
used copy.
Sincerely,
George Spafford
3003 LakeShore Drive, #216
St. Joseph, MI 49085
I can be reached via a modem on EXEC-PC or CHANNEL-ONE BBS.
Code CopyRight: 1993 - George Spafford All Rights Reserved.
DRIVE TEST IS DISTRIBUTED AS IS. THE AUTHOR (GEORGE SPAFFORD) MAKES NO
WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE,
WITH RESPECT TO THIS SOFTWARE AND DOCUMENTATION. IN NO EVENT SHALL
THE AUTHOR BE LIABLE FOR ANY DAMAGES, INCLUDING LOST PROFITS, LOST
SAVINGS, OR ANY OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OF OR THE INABILITY TO USE THIS PROGRAM.