home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / ZOO21E.EXE / FIZ.MAN < prev    next >
Text File  |  1991-07-11  |  4KB  |  101 lines

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