home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / ZOO20OS2.ZIP / FIZ.MAN < prev    next >
Text File  |  1990-03-01  |  4KB  |  93 lines

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