Download The Dark Side
Transcript
Un-deleting a file on a MFX3plus RBF formatted drive If you accidentally delete a file from an RBF formatted drive you are in trouble as there is no easy way to recover the missing file. It is possible however, providing that the device with the deleted file(s) on them are not modified in any way after the deletion has occurred. This would imply: recording to the drive, copy, restore… This procedure requires and assumes knowledge of the OS9 operating system and the file structure of an MFX3plus file system. If you have no knowledge of these items, do not proceed and call someone who does. Notes: $ indicates a hexadecimal number > indicates what you should type on the machine Quit to the shell. > quit Using the Dump command, verify the deleted file(s) can still be seen on the drive, even though they cannot be seen in the MFX project directory of the drive in question. > dump /scx0 (where x is the SCSI ID of the drive with the deleted file, i.e. /sc20) Note at what address the deleted file is at. E.g. the ASCII dump display will look like something like this, if R1AB-MOVIE.MT is the original name of the deleted file. The first letter of the project name will be a ‘.’ (period): Address File name $00000200 R2AB-MOVIE.MT $00000220 .1AB-MOVIE.MT $00000240 R3AB-MOVIE.MT Then you can use the Patch command to “poke” a number into the directory. You need to use the –d option on the patch command to tell it your are patching a directory and not a file. You also need to pick an ASCII value to “poke” in. You can try and use the correct ASCII for a particular character, but if you don’t have a conversion table handy, then use the number 78 which is the ASCII equivalence for lower case x. Please note this poking of this value will only work in this example. You will have to determine the correct address location of the deleted file on your system, and supply the appropriate location value of the patch command. From the example above, if the file were on SCSI ID 2, then you would type: > patch –d /sc20 220=78 This will change the dump to: (use the Dump command again) Address File name $00000200 R2AB-MOVIE.MT $00000220 x1AB-MOVIE.MT $00000240 R3AB-MOVIE.MT At this time you need to reconnect the media to the file. Type: > dcheck /scx0 –ry 19