home *** CD-ROM | disk | FTP | other *** search
/ Freesoft 1999 February / Freesoft_1999-02_cd.bin / Recenz / Kompres / rarlnx25.sfx / rar_faq.txt < prev    next >
Text File  |  1999-03-24  |  11KB  |  227 lines

  1. --------------------------------------------------------------------------
  2.  
  3.                     RAR Frequently Asked Questions (FAQ)
  4.  
  5.            Copyright 1994-99 Eugene Roshal.  All rights reserved.
  6.  
  7.                                28-February-1999
  8.  
  9. --------------------------------------------------------------------------
  10.  
  11. Published by Eugene Roshal with assistance from the users of RAR, UNRAR,
  12. related utilities, and the RAR support sites.  This document may be freely
  13. distributed for non-commercial and information purposes.  This document 
  14. may not, under any circumstance, be traded, sold, or otherwise used for 
  15. commercial gain or purposes without prior written consent of Eugene 
  16. Roshal.
  17. --------------------------------------------------------------------------
  18.  
  19. Questions listed in this FAQ:
  20. --------------------------------------------------------------------------
  21. Q: When I download a RAR archive using Netscape Navigator or communicator,
  22.    the file is corrupt, what's wrong?
  23.  
  24. Q: While I can see that RAR is a great program with a terrific user 
  25.    interface, there appear to be no facilities available to convert my 
  26.    existing archived files to RAR format.
  27.  
  28. Q: RAR incorporates a number of different compression "methods", what are
  29.    the advantages and disadvantages of using them and which one would you 
  30.    recommend for daily use?
  31.  
  32. Q: I've heard a lot about "Solid" archives.  What are they and how can I use
  33.    them?
  34.  
  35. Q: How could a user of my BBS (E-mail system, FTP server etc) extract
  36.    files from RAR archives while RAR is shareware and one must register
  37.    after a 40 day evaluation period?
  38.  
  39. Q: I failed to extract files from a solid multivolume RAR archive because
  40.    one archive volume was damaged (bad floppy diskette). Help me!
  41.  
  42.  
  43. Questions and Answers:
  44. --------------------------------------------------------------------------
  45.  
  46. Q: When I download a RAR archive using Netscape Navigator or Communicator,
  47.    the file is corrupt, what's wrong?
  48.  
  49. A: Apache HTTP server erroneously reports the RAR archive type as
  50.    text/plain and as a result, Netscape Navigator/Communicator treats
  51.    the file as plain text.  To prevent this happening, those webmasters,
  52.    who use Apache, should create .htaccess file in each directory which
  53.    has RAR archives and add the following string to it:
  54.  
  55.    AddType application/x-rar-compressed rar
  56.  
  57.    If .htaccess already exists, this string should be added to the
  58.    already existing file.
  59. --------------------------------------------------------------------------
  60.  
  61. Q: While I can see that RAR is a great program with a terrific user 
  62.    interface, there appear to be no facilities available to convert my 
  63.    existing archived files to RAR format.
  64.  
  65. A: You are using an older version of RAR than 1.54 which includes it's
  66.    own conversion utility called RCVT.  This utility is FREE for RAR 
  67.    users and will handle most of your file conversion needs, including
  68.    the updating of you FILES.BBS lists.
  69. --------------------------------------------------------------------------
  70.  
  71. Q: RAR incorporates a number of different compression "methods", what are
  72.    the advantages and disadvantages of using them and which one would you 
  73.    recommend for daily use?
  74.  
  75. A: RAR contains 6 different methods of compressing files, which one you 
  76.    use would depend upon your requirements.  i.e. how much you demand the 
  77.    file be compressed balanced against how much time you are willing to 
  78.    devote to the compression process.  There is always a trade-off and the 
  79.    final choice must be yours.  Our recommendation is to leave compression
  80.    as "Normal" unless you have good reason to change it. 
  81.  
  82.      Store         No compression is used at all, the files are simply 
  83.                    collected into the archive.  This method is quite fast
  84.                    and is useful for simply copying files from one place 
  85.                    to another.
  86.      Fastest       The fastest compression method is applied.  This is
  87.                    slower than the "store" method.
  88.      Fast          A slightly better compression method is used, resulting
  89.                    in a smaller file.
  90.      Normal        A better compression method is used to achieve (almost)
  91.                    optimal compression, at a slight cost in time.
  92.      Good          A better compression method gains another increase of 
  93.                    (0.1 - 0.3%) 
  94.      Best          Uses the best compression method of all at the cost of
  95.                    20% - 100% more time, for the purists only.
  96.  
  97.    Here are the results of a compression test:
  98.  
  99.     Method used   Time taken     %    Compressed size     %
  100.  
  101.        -m0           6.64      37.9       354262       100.00
  102.        -m1          17.52     100.0       270534        76.37
  103.        -m2          17.61     100.5       269431        76.05
  104.        -m3          18.18     103.8       268314        75.74
  105.        -m4          19.22     116.6       268123        75.68
  106.        -m5          20.43     119.7       268091        75.68
  107.  
  108.    As you can see, as the packing method improves, the time required 
  109.    increases, but the increase in time is proportionally much greater than 
  110.    the gain acheived.  This why the default and recommended method is set
  111.    to -m3    
  112.  
  113.    If you wish to obtain the 'ultimate' compression from RAR, without 
  114.    regard for the time taken, then the best general set of rules would 
  115.    be:
  116.  
  117.    ..  Use the -s -m5 and -ds switches
  118.  
  119.    ..  Use the @ command with a file containing a list of the files to 
  120.        be archived.
  121.  
  122.    ..  Create the list of files to be archived using the following 
  123.        rule: all files should be 'grouped' according to file contents
  124.        (ANSI-code, ASCII source, binary, executable, etc)
  125.  
  126. --------------------------------------------------------------------------
  127.  
  128. Q: I've heard a lot about "Solid" archives.  What are they and how can I use
  129.    them?
  130.  
  131. A: It has been well known, for a long time, that one method of increasing 
  132.    the efficiency of compression, was to copy all the files to be compressed
  133.    into a single file, before compressing them. This is called creating a
  134.    "Solid" file before compressing. There are programs around which indeed
  135.    perform this operation and act as a pre-processor to another archiver.
  136.    RAR handles this function internally and invisibly to the user, it
  137.    simply "sees" all files together as a single data stream, with the
  138.    end result that the final output is significantly smaller than it would
  139.    otherwise be.  The gain to be had from this type of archive can be
  140.    significant and can be 10% - 60% of the size of the original archive.
  141.  
  142.    As with any other gain, there is a price to be paid and that price should 
  143.    be taken into consideration before creating a "Solid" archive.  The best 
  144.    way to understand if using a solid archive is best for you is to answer 
  145.    the following questions:
  146.  
  147.    Q: How often are you going to update or modify the archive?
  148.  
  149.    A: Probably never       ..  Use a solid archive
  150.  
  151.       Rarely               ..  Use a solid archive
  152.  
  153.       Frequently           ..  Use a normal archive
  154.  
  155.    Q: Are you using RAR as a packer for an electronic mail system?
  156.  
  157.    A: Yes                  ..  Use a solid archive
  158.  
  159.    IMPORTANT NOTE:
  160.  
  161.    Beware that to extract a file from solid archive RAR scans the whole
  162.    archive from the beginning.
  163.  
  164.    If you are using RAR to store archives to some unreliable storage media
  165.    (e.g. floppy disks, streamer tapes etc.) you should better use normal,
  166.    non solid mode. And you definetely should use the recovery option.
  167.  
  168.    It is impossible to extract files after damaged place in the solid
  169.    archive. However in some cases special recovery information helps to
  170.    rebuild the damaged archive if it is stored to the archive (the
  171.    recovery option was on, the '-rr' switch or 'rr' command applied).
  172.  
  173. --------------------------------------------------------------------------
  174.  
  175. Q: How could a user of my BBS (E-mail system, FTP server etc) extract
  176.    files from RAR archives while RAR is shareware and one must register
  177.    after a 40 day evaluation period?
  178.  
  179. A: The RAR distribution archive contains a free unRAR utility, UNRAR.EXE,
  180.    which can be used, without paying a license fee, by anyone wanting to 
  181.    extract archives created by RAR.  As an additional BONUS to this, the 
  182.    source code of a portable unRAR is included with RAR version above 1.53
  183.  
  184. --------------------------------------------------------------------------
  185.  
  186. Q: I failed to extract files from a solid multivolume RAR archive because
  187.    one archive volume was damaged (bad floppy diskette). Help me!
  188.  
  189. A: First of all, you should use RAR recovery option (-rr) when storing
  190.    archives onto not reliable media as the floppies are. Generally, it is 
  191.    not recommended to create solid archives in this case, use the normal 
  192.    (non solid) mode instead. You should be aware, that to extract files from
  193.    a particular solid volume RAR scans the whole set of previous archive 
  194.    volumes (.rar or .exe, .r00, .r01 etc).
  195.  
  196.    Steps of recovering process if you have damaged volume of solid archive:
  197.  
  198.    1) Try to repair the damaged volume (the 'r' option, 'repair' command).
  199.       It helps sometimes if RAR recovery was used when creating archive.
  200.       Rename recovered volume _recover.rar to the actual volume name and
  201.       try to process your archive from the first volume to the newly
  202.       recovered (if recovery were not used, RAR builds _reconst.rar).
  203.       
  204.    2) If previous procedure was not to any avail, then, unfortunately, 
  205.       chances to restore files are reduced. You should have source files 
  206.       contained in damaged volume (from the file where archive is broken
  207.       upto the end of the volume). And, you should extract all files from
  208.       all volumes until the CRC error in damaged place.
  209.  
  210.       Re-create volumes of the archive including damaged one, calling
  211.       RAR with the same options and archiving all files in the same order 
  212.       as when you created the archive for the first time. 
  213.  
  214.    If after that you are able to extract files from next volumes, you 
  215.    should say a hundred times "Thank you, my Lord!! I will never use again 
  216.    bad floppies, nor store multivolume solid archive to them without the
  217.    recovery option when there is a bare suspicion (0.000000001 percent of 
  218.    possibility) that the storage media is unreliable".
  219.       
  220. ------------------------------------------------------------------------------
  221. end of file "RAR_faq.txt"
  222.  
  223. ------------------------------------------------------------------------------
  224.  
  225.  
  226.  
  227.