home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / backup / progs / diskcloner / CloneDoc next >
Encoding:
Text File  |  1990-07-13  |  8.6 KB  |  197 lines

  1.                   Documentation for Disk Cloner Module V2.00
  2.                   ------------------------------------------
  3.  
  4. ********************** Incredibly boring Copyright Notice *********************
  5. *                                                                             *
  6. *      All program code is the exclusive copyright of Richard K. Lloyd.       *
  7. *     The program and documentation for Disk Cloner are freely distributable  *
  8. *                                                                             *
  9. *******************************************************************************
  10.  
  11. Installing Disk Cloner
  12. ----------------------
  13.  
  14. The Disk Cloner is installed by typing *DiskCloner. There, now that wasn't
  15. difficult was it ? If you get a 'No room in RMA' error, then type *GOS and
  16. try again.
  17.  
  18. So what does Disk Cloner do ?
  19. -----------------------------
  20.  
  21. Disk Cloner copies EVERY error-free sector of an ADFS disk from one floppy to
  22. another, including the unused area of the disk.
  23.  
  24. So why use Disk Cloner rather than *BACKUP ?
  25. --------------------------------------------
  26.  
  27. For normal work/data disks, I would stick to *BACKUP. However, if you
  28. accidentally delete a file that was at the end of the floppy and you want to
  29. make a backup before you try to recover the file, then *BACKUP may not do
  30. the job, whereas Disk Cloner will. Disks corrupted mid-way cannot be fully
  31. backed up by *BACKUP, but Disk Cloner will manage to do so.
  32.  
  33.    Of course, the more unscrupulous among you will have worked out that
  34. many commercial software protection systems employ the fact that *BACKUP must
  35. check the free space map (hence the 'Bad free space map' error on some
  36. commercial disks) and that it only backs up the used section of the disk (data
  37. is therefore secreted in the 'unused' area of the disk to fool *BACKUP).
  38.  
  39.    Version 1.02 onwards now retries bad tracks that V1.01 used to skip over.
  40. Each sector in the faulty track is individually re-read and any that are OK
  41. will be salvaged in the write pass. Faulty sectors are marked with a ?.
  42.  
  43.    Anyone can 'misuse' Disk Cloner and use it to backup much of the less
  44. well protected commercial disks. The author of Disk Cloner assumes no
  45. responsibilty for misuse in this way - and you deserve to go to jail if you
  46. sell pirated software.
  47.  
  48. The *Clone command
  49. ------------------
  50.  
  51. Syntax: *Clone <source drive> <dest. drive> [D|E|L]
  52.  
  53. The only Disk Cloner command implemented so far is *Clone, which copies an
  54. ENTIRE ADFS disk (unused space included) from the specified source drive to
  55. the destination drive indicated. You may not specify a non-existent drive
  56. (the *Configure Floppies setting is read to check this).
  57.  
  58. The optional parameter specifies the disk format type to be used as follows :
  59.  
  60. Param    Disk Size     Map     Dirs   Contiguous ?   Machine     OS
  61.  
  62.   D         800K       Old     New        Yes        Arc         1.20/2.00
  63.   E         800K       New     New        No         Arc         2.00
  64.   L         640K       Old     Old        Yes        Arc/Master  Any
  65.  
  66. If the source drive contains an unformatted disk (Disk Cloner assumes that
  67. unformatted means 'unable to seek to track 0') then the command is aborted.
  68. However, if the DESTINATION drive holds an unformatted disk, then the first
  69. read pass is performed on the source drive and Disk Cloner then asks if you
  70. wish to format the destination disk. If you press Y then the disk is formatted
  71. to the type specified in the *Clone command (i.e. D, E or L...with E being the
  72. default). The first write pass then starts and the cloning continues as usual.
  73.  
  74. Application workspace from &8000 onwards (&8F00 if BASIC active) is used
  75. during the copy, so you are asked for confirmation before the operation starts. Intelligent memory checks are made, so single-floppy A440's can copy a disk
  76. with only one swap. V1.02 has improved memory management to cope with the new
  77. bad track retry system.
  78.  
  79. ESCAPE may be pressed AT ANY TIME to abort the command - this is highly
  80. useful if you mess things up !
  81.  
  82. If the source drive is the same as the destination drive, then you will be
  83. prompted for a keypress to allow the disk to be swapped.
  84.  
  85. Disk Cloner Event Table
  86. -----------------------
  87.  
  88. The following is a table of what happens with different combinations of disks
  89. when using Disk Cloner.
  90.  
  91. +-------------------------+-------------------------+------------------------+
  92. | Source Disk             | Destination Disk        | Event                  |
  93. +-------------------------+-------------------------+------------------------+
  94. | Error-free 800K (D)     | Error-free 800K (E)     | OK, converts E to D    |
  95. | Error-free 800K (E)     | Error-free 800K (D)     | OK, converts D to E    |
  96. | Error-free 800K (D|E)   | Error-free 640K (L)     | Errors, unusable       |
  97. | Error-free 640K (L)     | Error-free 800K (D|E)   | OK, unusable           |
  98. | Faulty     800K (D|E)   | Error-free 800K (D|E)   | Errors, mostly usable  |
  99. | Faulty     800K (D|E)   | Faulty     800K (D|E)   | Errors, hardly usable  |
  100. | Empty drive             | Any disk or empty drive | Aborts immediately     |
  101. | Unformatted disk        | Any disk or empty drive | Aborts immediately     |
  102. | Any formatted disk      | Empty drive             | Tries+fails to format  |
  103. | Any formatted disk      | Write-protected disk    | 800 (or 640) errors !  |
  104. | Any formatted disk      | Unformatted disk        | Formats+continues      |
  105. +-------------------------+-------------------------+------------------------+
  106.  
  107. Revision History of Disk Cloner
  108. -------------------------------
  109.  
  110. Version 2.00
  111. ------------
  112.  
  113. * Fully tested and shown to work OK in RISC OS. Switched to E format as the
  114.   default unless otherwise specified. Disk Cloner still works in Arthur 1.20.
  115.  
  116. * Merged the *Help info into the help for *Clone and removed *Help DiskCloner.
  117.  
  118. * Added the format type to the start message to assure user.
  119.  
  120. * If BASIC is active, then start workspace from &8F00 else from &8000 as usual.
  121.   This is because BASIC V1.04 crashes if you use below &8F00 (even with an
  122.   OS_Exit to leave) - V1.02 didn't seem to mind.
  123.   
  124. Version 1.02
  125. ------------
  126.  
  127. * Each sector in a bad track is now retried and salvaged if OK.
  128.  
  129. * Memory management improved so less swaps are required if you have a disk
  130.   with many faulty tracks.
  131.  
  132. * If the destination disk is unformatted, Disk Cloner will allow the disk to
  133.   be formatted and then it continues the cloning where it was stopped.
  134.  
  135. * Disk Cloner now never 'hangs' - it can take a long time to report track
  136.   errors in certain circumstances though (this is what the ESCAPE key's for,
  137.   folks !) - especially if you try to dupe it by putting an unformatted disk
  138.   in the destination drive half-way through a disk clone...now you wouldn't
  139.   go and do a nasty thing like that would you ?
  140.  
  141. * If you get between 1 and 9 errors, the completion message now omits the
  142.   leading zero (not exactly awe-inspiring, but every little helps).
  143.  
  144. * All occurrences of the word 'disc' have been changed to 'disk'. This is just
  145.   for the sake of being consistent, but isn't funny that all my floppies are
  146.   labelled 'disks' and yet Acorn insist on calling them 'discs' ?
  147.  
  148. Version 1.01
  149. ------------
  150.  
  151. * Added D,E and L options even though I don't have RISC OS and can't test
  152.   the Extended format...
  153.  
  154. * Disk size is now displayed at the confirmation prompt just to reassure
  155.   jittery users.
  156.  
  157. * Added bad track checking during the read and write passes. Any track that
  158.   is not read during the read pass is skipped during the write pass without
  159.   any attempt to write data to that track.
  160.  
  161. * Now displays the total number of errors encountered - this is the sum of
  162.   the read errors AND the write errors.
  163.  
  164. * Still hangs on unformatted disks, but doesn't if the drive is empty or the
  165.   disk is write-protected or formatted to the wrong size. *FIXED IN V1.02*
  166.  
  167. Version 1.00
  168. ------------
  169.  
  170. * Written as a 1.5K module so that multiple disk cloning is trivial.
  171.  
  172. * Has a nasty tendency to fatally hang if the destination drive is either
  173.   empty or contains a write-protected disk. *FIXED IN V1.02*
  174.  
  175. * Checks memory intelligently so that swaps are minimised for single-drive
  176.   machines.
  177.  
  178. Future Improvements to Disk Cloner V2.00
  179. ----------------------------------------
  180.  
  181. * Since there are now fully blown disk copiers available (I have two in my
  182.   possession), it's unlikely I can go much further without incurring the
  183.   wrath of Acorn ("incitement to pirate" or some such silly charge).
  184.   Hence, like many of my other projects, it's time to draw this one to close,
  185.   bug-fixing releases permitting.
  186.  
  187. Where to find me to report bugs or improvements to the Disk Cloner
  188. ------------------------------------------------------------------  
  189.  
  190. Snail Mail           JANET e-mail
  191. ----------           ------------
  192. Richard K. Lloyd,    rkl@uk.ac.liv.cs.mva
  193. 1, Banks Road,
  194. Lower Heswall,
  195. Wirral,
  196. Merseyside. 
  197.