home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / compress / zoosrc20.zoo / fiz.man < prev    next >
Text File  |  1989-07-25  |  4KB  |  130 lines

  1.  
  2.  
  3.  
  4. FIZ(1)              **IX Programmer's Manual               FIZ(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      fiz - analyze damaged zoo archive for data revovery
  10.  
  11. SYNOPSIS
  12.      fiz archive[.zoo]
  13.  
  14. DESCRIPTION
  15.      Fiz is used to analyze damaged zoo archives and locate
  16.      directory entries and file data in them.  The current ver-
  17.      sion of fiz is 2.0 and it is meant to be used in conjunction
  18.      with zoo version 2.0.  Fiz makes no assumptions about
  19.      archive structure.  Instead, it simply searches the entire
  20.      subject archive for tag values that mark the locations of
  21.      directory entries and file data.  In a zoo archive, a direc-
  22.      tory entry contains information about a stored file such as
  23.      its name, whether compressed or not, and its timestamp.  The
  24.      file data are the actual data for the archived file, and may
  25.      be either the original data, or the result of compressing
  26.      the file.
  27.  
  28.      For each directory entry found, fiz prints where in the
  29.      archive it is located, the directory path and filename(s)
  30.      found in it, whether the directory entry appears to be cor-
  31.      rupted (indicated by [*CRC Error*]), and the value of the
  32.      pointer to the file data that is found in the directory
  33.      entry.  For each block of file data found in the archive,
  34.      fiz prints where in the archive the block begins.  In the
  35.      case of an undamaged archive, the pointer to file data found
  36.      in a directory entry will correspond to where fiz actually
  37.      locates the data.  Here is some sample output from fiz:
  38.  
  39.      ****************
  40.          2526: DIR  [changes] ==>   95
  41.          2587: DATA
  42.      ****************
  43.          3909: DIR  [copyrite] ==> 1478
  44.          3970: DATA
  45.          4769: DATA
  46.      ****************
  47.  
  48.      In such output, DIR indicates where fiz found a directory
  49.      entry in the archive, and DATA indicates where fiz found
  50.      file data in the archive.  Filenames located by fiz are
  51.      enclosed in square brackets, and the notation "==>   95"
  52.      indicates that the directory entry found by fiz at position
  53.      2526 has a file data pointer to position 95.  In actuality,
  54.      fiz found file data at positions 2587, 3970, and 4769.
  55.      Since fiz found only two directory entries, and each direc-
  56.      tory entry corresponds to one file, one of the file data
  57.      positions is an artifact.
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Printed 2/7/88            Jan 31, 1988                          1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. FIZ(1)              **IX Programmer's Manual               FIZ(1)
  71.  
  72.  
  73.  
  74.      Once the locations of directory entries and file data are
  75.      found, the @ modifier to zoo's archive list and extract com-
  76.      mands can be used and the archive contents selectively
  77.      listed or extracted, skipping the damaged portion.  This is
  78.      further described in the documentation for zoo(1).
  79.  
  80.      In the above case, commands to try giving to zoo might be
  81.      x@2526,2587 (extract beginning at position 2526, and get
  82.      file data from position 2587), x@3090,3970 (extract at 3090,
  83.      get data from 3970) and x@3909,4769 (extract at 3909, get
  84.      data from 4769).  Once a correctly-matched directory
  85.      entry/file data pair is found, zoo will in most cases syn-
  86.      chronize with and correctly extract all files subsequently
  87.      found in the archive.  Trial and error should allow all
  88.      undamaged files to be extracted.  Also note that self-
  89.      extracting archives created using sez (the Self-Extracting
  90.      Zoo utility for MS-DOS), which are normally executed on an
  91.      MS-DOS system for extraction, can be extracted on non-MSDOS
  92.      systems in a similar way.
  93.  
  94. SEE ALSO
  95.      zoo(1)
  96.  
  97. BUGS
  98.      Random byte patterns can occasionally be incorrectly recog-
  99.      nized as tag values.  This occurs very rarely, however, and
  100.      trial and error will usually permit all undamaged data to be
  101.      extracted.
  102.  
  103. DIAGNOSTICS
  104.      Fiz always exits with a status code of 0.
  105.  
  106. FUTURE DIRECTIONS
  107.      Automation of data recovery from a damaged archive is poten-
  108.      tially achievable.  However, since damaged archives occur
  109.      only rarely, fiz as it currently stands is unlikely to
  110.      change much in the near future.
  111.  
  112. AUTHOR
  113.      Rahul Dhesi
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Printed 2/7/88            Jan 31, 1988                          2
  130.