CompuServe Messages

Undelete

    08-Sep-87 17:22:57
Sb: #84243-Undelete
Fm: Don Curtis/SYSOP 76703,4321
To: Greg White 72105,1616
Greg, Humm…disksalv should have found it and copied it to the other disk. If you are familiar with AmigaDOS, you can attempt this: Get a sector editor (in DL 9 either dskfix.arc or sec.arc) and then use it to look for a distinctive string within the file you lost sector by sector. Once you find a sector with that string in it…back up the sector chain to the first sector containing the file. Note the sector # and then go to the root sector. Hash a filename (any filename that presently doesn't exist) and when you get the hash value, at the sector pointed to by the hash value (sec will go there automaticaly), if it's blank (all 0's) then put in the sector # of the beginning of the lost file. Write out the root sector (after creating a new checksum) and then run the disk thru disksalv. Obviously do this on a COPY only of the original disk (made via diskcopy). After the above procedure, you have a disk that probably won't validate, since the sector map will not show the sectors for your file in use, the above procedure doesn't re-write the sector map. I doubt (but don't know) if it will get re-validated or not the next time you put the disk in the drive, I suspect it won't. This is a last ditch procedure and may or may not work. It definately won't work if you have written anything to the disk since you accidently deleted the file as more than likely you have over written at least one or two of the sectors that had your missing file on it. Don