home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13757 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.9 KB  |  42 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!chukran.austin.ibm.com!rudy
  3. From: rudy@chukran.austin.ibm.com ()
  4. Subject: Re: backup and the -p option
  5. Sender: news@austin.ibm.com (News id)
  6. Message-ID: <C1H3JB.2n7v@austin.ibm.com>
  7. Date: Tue, 26 Jan 1993 18:04:23 GMT
  8. Reply-To: chukran@austin.vnet.ibm.com(Rudy Chukran)
  9. References:  <1jp73lINN1un@meaddata.meaddata.com>
  10. Organization: IBM Advanced Workstation Division
  11. Lines: 29
  12.  
  13. In article <1jp73lINN1un@meaddata.meaddata.com>, marko@meaddata.com (Mark Osbourne) writes:
  14. |> The file is compressable; compress squeezes the file from 70 Meg down
  15. |> to about 7 Meg.
  16. |> 
  17. |> How does backup decide whether to compress the file or not?  Is it
  18. |> based on available space on /tmp?  Is it based on available memory
  19. |> swap space at the time?  
  20. backup -p uses Huffman encoding , which is not as efficient as
  21. LZW compression. But it is not this inefficient!
  22.  
  23. Some other quirks:
  24. The algorithm seems to give up if it finds character run lengths > 2**24 = 16M.
  25. If compress is getting a 10:1 compression factor, I wouldnt be surprised
  26. if this file has exceeded this limit.
  27.  
  28. Also, ( this looks like a bug), if the file begins with 0x1f1e, then compression
  29. is ignored because the algorithm says "it is already compressed", which
  30. is ludicrous.  
  31.  
  32. backup -p is very convenient, but non-portable.  I use it a lot myself.
  33. But tar |compress is usually more space efficient and portable.
  34. -- 
  35. *********************************************************************
  36. Rudy Chukran                |       EMAIL:            
  37. IBM AIX Technical Consulting| RSCS: CHUKRAN at AUSTIN 
  38. 11400 Burnet Rd.            | AWDnet:rudy@chukran.austin.ibm.com    
  39. Internal ZIP 2830           | internet: chukran@austin.vnet.ibm.com
  40. Austin, Texas 78758         |
  41. *********************************************************************
  42.