home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / compress / 4573 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.compression
  2. Path: sparky!uunet!rei2!fox
  3. From: fox@rei.com (Fuzzy Fox)
  4. Subject: Re: An idea for HD compression
  5. Message-ID: <1993Jan11.233818.9000@rei.com>
  6. Date: Mon, 11 Jan 1993 23:38:18 GMT
  7. References: <+7_3k_+@rpi.edu>
  8. Organization: Recognition Equipment, Inc.
  9. Lines: 30
  10.  
  11. rogerj@aix.rpi.edu (Diversion (Jeff Rogers)) writes:
  12.  
  13. >Why not try to reclaim this lost space? Use a null-suppression algorithm on
  14. >half-empty sectors, keep an index of them, store them somewhere else in a
  15. >packed form, and get them when they're requested by int 13(?). 
  16.  
  17. I assume you mean to handle this at a BIOS level, where you don't know
  18. what the OS might be trying to do with each sector.  If so, how do you
  19. propose to know which bytes are significant in any sector that's written
  20. to disk?  DOS does not fill unused bytes with zeroes, nor does any other
  21. OS (although maybe VMS does).
  22.  
  23. >I think this is similar to what stacker does, but I recall hearing that
  24. >stacker operates on ms-dos files only, and doesn't work with other os's
  25.  
  26. One of the problems that Stacker must deal with, as well as your own
  27. program, is how to deal with the simulation of a disk that has more
  28. clusters than the actual medium.  Say you have a 1 Meg floppy and you
  29. are simulating a 2 Meg floppy.  Suppose a program writes data to every
  30. single sector on the 2 Meg floppy.  Which sectors do you keep, and which
  31. do you throw away?  What happens if the data compression used does not
  32. let you fit all the sectors on the 1 Meg physical medium?  A real floppy
  33. disk cannot return a "disk full" error; that's what the OS does.  You
  34. could return a hard write error, but is that a solution?
  35.  
  36. -- 
  37. #ifdef TRUE        | Fuzzy Fox (a.k.a. David DeSimone)       fuzzy@netcom.com
  38. #define  TRUE   0  |
  39. #define  FALSE  1  |  "911 Emergency Rescue Service - Can you hold, please?"
  40. #endif             |
  41.