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