CompuServe Thread

#Undelete

3 messages in this thread
#84243From: Greg WhiteSep 8, 1987 3:56 PM
Don, Well it finally happened. I deleted a file that I really needed. And of course, no backup. Question is, what will recover it? I thought I had read that Dave Haynie's Disksalv would do it. So I tried it on a test disk. I formated it, copied one file to it and then deleted it. I first tried Disksalv. It never found anything on the disk and copied nothing to the 2nd disk. Next I tried Undelete, a PD program. It also found nothing. As a last gasp, I then tried Diskdoctor, also with no results. What's the story here? I know I've read of people recovering deleted files from KS disks and others. What am I doing wrong. Thanks for your help. BTW I'm using Disksalv 1.0 (which I think is the latest version) and Diskdoctor from WB1.2 Later, Greg
#84254From: Don Curtis/SYSOPSep 8, 1987 5:22 PM
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
#84353From: Greg WhiteSep 9, 1987 3:09 PM
Thanks, Don. I'll give it a try. Later, Greg