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

  1.  
  2. Syntax: E:\BIN\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()) It
  17. reports the file system type and in the case of LAN drive,
  18. the NETBIOS alias name.
  19.  
  20. If it sees the \SPACEHOG directory, which you have to
  21. create explicitly, it will create dummy files there as
  22. needed to maintain the 2G-512 byte freespace ceiling for
  23. that disk partition (you may have to run this twice). The
  24. dummy files are named with simple integers, from 0 thru
  25. 99999999...
  26.  
  27. If the amount of reserved space needed is less than 2G-512
  28. bytes, it will shrink or expand the size of the \SPACEHOG\0
  29. file instead.
  30.  
  31. Warning: You use this program and its source code at your
  32.          own risk. I provide no warranty of any kind. But
  33.          I *do* welcome bug FIXES/reports via email to:
  34.  
  35.          wfyuen@bestweb.net
  36.  
  37. Patches: If you don't have any of the four compilers I used,
  38.          you can change the \SPACEHOG directory to some place
  39.          else by patching the 256 byte variable I reserved
  40.          with a binary editor. Search for this string:
  41.  
  42.          "?:\spacehog"
  43.  
  44.          The '?' will be replaced by the program with the
  45.          drive letter passed from the command line. Therefore,
  46.          you need not patch that. Please make sure you end the
  47.          new directory name with a binary 0 byte. It must not
  48.          end with a backslash ('\')!!!
  49.  
  50. Wing Yuen                                      Jun 19 2000
  51.