traw@grad1.cis.upenn.edu (01/28/91)
I need a program to locate and lock out bad sectors on a hard disk running CP/M 2.2. The machine is a xerox 820-II, using a 10M shugart drive.
wilker@gauss.math.purdue.edu (Clarence Wilkerson) (01/28/91)
You need FINDBAD. This works after formatting disks, and reads sectors to find bad ones. The bad ones are collected in a file stuffed in user number 15. Caution: Under CP/M a sector can belong to more than one logical file. After using FINDBAD, any bad sectors will belong to both the badsector file, and the previous owner. You can use DU to discover this problem. If the file is data, you can recover as much as possible by copying to a file of a different name, and then erasing the previous copy. Check the SIMTEL20 site for FINDBAD. It's a simple idea and works. Clarence Wilkerson