home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 408.lha / DeadAlloc / DeadAlloc.doc < prev    next >
Text File  |  1990-09-02  |  3KB  |  71 lines

  1.  
  2. DeadAlloc - A program for allocating dead tracks on AmigaDos [OFS] floppys.
  3.  
  4. (c) Tim MacKenzie.
  5. 13/8/90.
  6.  
  7. ---------------------------------------------------------------------
  8. This program may be freely redistributed and modified as long as this 
  9. copyright message remains intact and such activity is not for profit.
  10. The author (thats me) takes no responsibility for any damage/loss/&c
  11. resulting from the use/misuse of this program.
  12. ----------------------------------------------------------------------
  13.  
  14.  
  15. Everyone (well nearly) has a few disks which have a few dead tracks on them
  16. making them (the disks) quite useless to AmigaDos when you try to write 
  17. to them.  IbM owners dont worry about this as their OS kindly allocates
  18. these tracks and continues on it's merry way (It's only a simple minded
  19. system so it's allowed to be _merry_).  AmigaDos is not quite so kind, 
  20. so here is this program to do the allocation for you.
  21.  
  22. This program creates a file "...dead" which contains all of the 
  23. dead/unusable tracks on a floppy.  This allows the floppy to be used 
  24. normally for data, programs etc.  The program does not recover tracks, 
  25. it just tells the file system that they are allocated and are hence not
  26. used for 'useful' data.  Creation of the file "...dead" stops the tracks
  27. being deallocated when the disk is re-validated after a crash &c.
  28.  
  29. To use:
  30.     DeadAlloc [df?:] [-n] [-m]
  31.  
  32.     :- df? selects the drive to operate on. [default is df1:]
  33.     :- -m stops the program from creating the file.
  34.     :- -n allows the program to doubly allocate tracks. ie. It will 
  35.             reallocate tracks (This is not a good idea)
  36.  
  37.     DeadAlloc ? 
  38.         Will display the options.
  39.  
  40. Notes:
  41.     1: It is a good idea to use the program on empty disks. This prevents
  42.         the situation of reallocating a block which belongs to an
  43.         existing file.
  44.     2: The file created has no delete privaliges. To delete it you must 
  45.         change it's protection with 'protect ...Dead +d'
  46.     3: The program will exit if a '...Dead' file already exists.
  47.     4: If you reallocate blocks then delete both files which have a claim
  48.         to that block then you will receive a 'Disk corrupt' message.
  49.     5: Sometimes the disk checker will not pick up a dead track. In this 
  50.         case you should delete the '...Dead' file and retry.
  51.     6: The source compiles with DICE. Manx/Lattice users need to change
  52.         the #includes and include Open/Close Library routines
  53.         !!thanx Matt!!.
  54.     7: A disk with tracks 40 or 0 dead may be unrecoverable/unuseable.
  55.     8: If you use the program on disks with existing files and it informs
  56.         you that a block is already allocated then no file will be
  57.         created and no blocks allocated.  You must remove the
  58.         offending file and retry.
  59.  
  60.  
  61. My Address.
  62.     Tim MacKenzie.
  63.     36 Alexander Ave
  64.     Upwey, Victoria.
  65.     AUSTRALIA. 3158.
  66.  
  67. Internet: ins425v@monu4.cc.monash.edu.au  (til Nov '90)
  68.           ins425v@monu3.cc.monash.edu.au  ( ----"----)
  69.  
  70. Any Donations, suggestions, thanx, Fan mail, flames etc are most welcome :-}
  71.