home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / wizards / 3767 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.3 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!mtxinu!sybase!tzu!brijesh
  2. From: brijesh@tzu.sybase.com
  3. Newsgroups: comp.unix.wizards
  4. Subject: uncompressing an incomplete tar file
  5. Message-ID: <23015@sybase.sybase.com>
  6. Date: 1 Sep 92 17:33:48 GMT
  7. Sender: news@Sybase.COM
  8. Lines: 24
  9.  
  10. (modified from c.u.questions post for which i haven't gotten any response yet).
  11. (I will appreciate if you could send a copy of reply to my address
  12. brijesh@sybase.com)
  13.  
  14. Here is what I did:
  15.  
  16. 1) TARed a directory => foo.tar
  17. 2) compress foo.tar  => foo.tar.Z (~200 Meg)
  18. 3) TARed it onto TK50 tapes (~150 Meg)
  19. 4) read the file foo.tar.Z from tape drive (~150 Meg)
  20. 5) uncompress foo.tar.Z => foo.tar (only ~2 Meg!!)
  21. 6) tar xvf foo.tar  [The contents appear OK, but only 2% of my entire data]
  22.  
  23. so after uncompressing I am not getting back rest of my stuff.
  24. The only thing I think that may be wrong is at step 3,
  25. only two tapes were available and they could not contain entire 200Meg,
  26. so only ~150 Meg got stored which may have truncated some information
  27. needed for a later uncompress.
  28.  
  29. what i am looking for is some sort of way to recover most of the data.
  30. is it possible? how difficult? does anyone have the source for uncompress.c?
  31. I could then maybe hack something with it to handle this situation.
  32.  
  33. any help is appreciated.
  34.