home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / disks / tools / afsdefrag / afsfiledefrag.readme < prev    next >
Text File  |  1977-12-31  |  3KB  |  75 lines

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