home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / spacehog.zip / space.doc < prev    next >
Text File  |  2000-01-20  |  2KB  |  49 lines

  1.  
  2. Syntax: X:\wfy\spacehog\space.exe [DriveLetter[:]]
  3.  
  4. The current drive will be used if no DriveLetter is given.
  5. The trailing colon is also optional.
  6.  
  7. This PUBLIC DOMAIN program helps you maintain the amount
  8. of free space in the specified drive to under 2G-512 Bytes.
  9. (Because HPFS allocates space in 512 byte units.)
  10. Thus stopping programs using 32-bit signed integer math
  11. from seeing space above 2G-512 bytes as negative.
  12.  
  13. If it can't find the \SPACEHOG directory in the specified
  14. partition, it behaves like a run-of-the-mill freespace
  15. reporting utility, albeit it can handle disk partitions up
  16. to 999,999,999,999 bytes in size. (see Split000())
  17.  
  18. If it sees the \SPACEHOG directory, which you have to
  19. create explicitly, it will create dummy files there as
  20. needed to maintain the 2G-512 byte freespace ceiling for
  21. that disk partition (you may have to run this twice). The
  22. dummy files are named with simple integers, from 0 thru
  23. 99999999...
  24.  
  25. If the amount of reserved space needed is less than 2G-512
  26. bytes, it will shrink or expand the size of the \SPACEHOG\0
  27. file instead.
  28.  
  29. Warning: You use this program and its source code at your
  30.          own risk. I provide no warranty of any kind. But
  31.          I *do* welcome bug FIXES/reports via email to:
  32.  
  33.          wfyuen@bestweb.net
  34.  
  35. Patches: If you don't have any of the four compilers I used,
  36.          you can change the \SPACEHOG directory to some place
  37.          else by patching the 256 byte variable I reserved
  38.          with a binary editor. Search for this string:
  39.  
  40.          "?:\spacehog"
  41.  
  42.          The '?' will be replaced by the program with the
  43.          drive letter passed from the command line. Therefore,
  44.          you need not patch that. Please make sure you end the
  45.          new directory name with a binary 0 byte. It must not
  46.          end with a backslash ('\')!!!
  47.  
  48. Wing Yuen                                      Jan 20 2000
  49.