home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / disks / tools / afsdefrag / afsdefrag.readme next >
Text File  |  1996-07-22  |  2KB  |  57 lines

  1. Defrag 1.0 by Kirk Strauser, June 19 '96
  2.  
  3. 1. What is it?
  4.    Defrag is a simple AREXX program I wrote to defragment the FILES on an
  5. AFS disk/partition.
  6.  
  7. 2. Huh?  I though AFS didn't fragment files...
  8.  
  9.     Well, it does a great job of not breaking up NEW files.  However, it's not
  10. so great at keeping appended files in one chunk.  This isn't a bug or design
  11. failure; that's just the way things are.
  12.  
  13. 3. How does it work?
  14.    Simple.  Defrag runs DiskValid on the stated disk/partition, then scans
  15. the output for any fragmented files.  If it finds any, it copies them to T:,
  16. then back to the original location.  AFS automatically writes the files back
  17. defragmented, so you're all clean and ready to go!
  18.  
  19. 4. How is it used?
  20.    
  21.     Defrag NameOfVolume MinFragments
  22.  
  23. where NameOfVolume is an AFS device, and MinFragments is the minimum number 
  24. of fragments a file must be broken into to be defragmented.  Example:
  25.  
  26.   Defrag DH1: 2
  27.  
  28. will scan DH1:, and defragments all files broken into 2 or more parts.
  29.  
  30. 5. Why would anyone possibly not want to defrag all files?
  31.  
  32.     Well, imagine your drive has 40 fragmented files, most files being broken
  33. into 2 sections.  If only 1 or 2 files are badly fragmented, do you really
  34. want to spend the time to fix everything?  If you do, that's your right.
  35. I just don't always feel like messing with it.  By the way, Defrag DOES
  36. default to fixing all files.  This is just an option I wanted left open, if
  37. only for my own personal use.
  38.  
  39. 6. How sure am I that this is safe?
  40.    
  41.     Pretty darn sure.  No files are deleted (except for the temp files, after
  42. the program is done), and all operations are normal DOS calls.  If you have
  43. any doubts, check the code yourself.  It's VERY straightforward.  Oh, yeah,
  44. there's also some bare-bones error checking in there.
  45.  
  46. 7. How responsible will I be if your HD catches on fire?
  47.  
  48.    Not one bit.  I wrote this in about 20 minutes, and have done minimal
  49. testing on it.  This program works for me, and I've heard other people
  50. request something similar, so here it is.  Remember, this program is free,
  51. so you get what you pay for.
  52.  
  53. 8. How can I be contacted?
  54.  
  55.    Please direct any questions/comments/requests/ideas to kstrauser@gxl.com.
  56.  
  57.