home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 316.lha / DF / df.doc < prev    next >
Encoding:
Text File  |  1989-12-05  |  3.4 KB  |  108 lines

  1.  
  2.  
  3.            DF.C - A utility to format a disk. 
  4.            CopyWrong 198?, SLADE Software ULTD.
  5.  
  6.     Released into the world of freely-mungable software sometime
  7.     in the year 1989. If you find this software useful, great. If
  8.     you don't, please be kind and pass it on anyway. 
  9.  
  10.  
  11.     
  12.  
  13.     DF was a program originally written for use with Palomax drive
  14. systems. At the time, Palomax did not support bad sector remapping with
  15. other than an OMTI controller, and the only solution for bad sectors on 
  16. a non-OMTI controller was to partition around them - and not many people
  17. like having a 20 meg drive split up into 10 partitions (I don't know why..).
  18.  
  19.     It will (given the correct switches), format a drive, and create a 
  20. file called 'bad.blocks' that contains links to all the bad blocks it finds.
  21. Optionally, you may enter a list of bad blocks by hand - or, even better, stick
  22. the list in a file, and redirect it into DF. Actually, you are only allowed to
  23. specify entire tracks, and not the individual sectors in the track, due to the
  24. way the Amiga does its disk I/O.
  25.  
  26.  
  27. Invocation:
  28.  
  29.     DF <device name> [<options>] [<volume name>]
  30.  
  31.     Where 
  32.         <device name> is df0:, df1:, dh0:, etc.
  33.         <options> is zero or more of the following:
  34.  
  35.         -q    QUICK FORMAT
  36.         -nv    NO VERIFY
  37.         -p    PRINT BAD BLOCK LIST
  38.         -u    UPDATE BAD BLOCK FILE
  39.         -ffs    USE FAST FILING SYSTEM
  40.         -t    ENTER BAD TRACK LIST
  41.  
  42.  
  43. Quick Format
  44.     The same as the QUICK option in Format. All it does is create an
  45.     empty boot and root block - effectively erasing the drive. It does
  46.     not verify any part of the drive except for those two blocks.
  47.  
  48.  
  49. No Verify
  50.     Format without doing a read verify of the track just formated. It 
  51.     is about 50% faster, but less reliable on a questionable disk.
  52.  
  53.  
  54. Print bad block list
  55.     Not implemented...
  56.  
  57.  
  58. Update bad block file
  59.     Not implemented...
  60.  
  61.  
  62. Use fast filing system
  63.     Use a FFS signature on the boot block (DOS\001 instead of DOS\000),
  64.     Which tells DOS how to handle the drive.
  65.  
  66.  
  67. Enter bad track list
  68.     You will be prompted for a list of head/track to enter into the 
  69.     bad track list. Typing 'q' at the 'Head' prompt will terminate
  70.     the list.
  71.  
  72.  
  73. Caveats, Usage notes, Bugs, Thoughts on dinner...
  74.  
  75.     - Woe to the person entering the same bad head,track twice. You
  76.       will get a requestor saying 'key xxx already set'. It seems that
  77.       AmigaDOS gets real upset if two files say they own the same block.
  78.  
  79.     - I ruined a disk on purpose (NOT a hard disk) to test this program.
  80.       The results - well... It caught most of the trashed tracks, but not
  81.       all of them. I had to try copying files to it 5 times to catch all
  82.       of the bad spots. If it is a floppy, you may as well just chuck it -
  83.       As a friend of mine said - who wants to make a career out of 
  84.       formatting disks?
  85.       If it is a hard drive, and you have no other way around it, my 
  86.       suggestion is to alter the code to do a format, read and write 
  87.       verify. This should do the trick.
  88.  
  89.     - I appologize for the 'not implemented' features. I lost interest
  90.       when I gained the ability to do software remapping. If there is
  91.       sufficient interest (and no-one has done it yet), I will do it.
  92.  
  93.     - If a volume name is not specified, it defaults to 'empty'.
  94.  
  95.     - This code was manx'ed. I have not idea if it will compile 
  96.       with lattice. So much for C being a portable language...
  97.  
  98.  
  99. Address thoughts, anecdotes, bug reports, etc to:
  100.  
  101.  
  102.     Jim Thibodeau                Larry Laplume
  103.     78A Janine Dr.                64 Garland Dr. #4
  104.     Zephyrhills, FL. 34248            Jackson, TN. 38301
  105.     (813) 788-2627                (901) 664-7059
  106.  
  107.  
  108.