9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] bunzip2 problem
@ 2005-03-12 12:24 Gregory Pavelcak
  2005-03-12 12:36 ` Charles Forsyth
  0 siblings, 1 reply; 4+ messages in thread
From: Gregory Pavelcak @ 2005-03-12 12:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello all,

I'm afraid I may have done something wrong in creating a .tbz file, and
now I'm unable to unzip it. I'm hoping there's something I can do to
recover. Here, from memory, is what I did.

I was running Plan 9 in vmware on Windows XP. From  /mail/box, I did
tar cf p9mail.tar glenda. that seemed to work and gave me a tar file. I
then decided to bzip2 it since I was going to send it over the net I
figured I'd make it smaller, so bzip2 p9mail.tar gave me p9mail.tbz.
Then, I used cifs to get access to our local Windows server and copied
the file over there. Here's the brilliant step. It didn't occur to me
to confirm that I could unzip the thing before replacing my
Windows/Plan 9 setup with FreeBSD. Since then, I tried to bunzip the
file from BSD (I don't remember the messages from there, but it
failed.) and on my Plan 9 box at home. Here's what I get

cpu% bunzip2 p9mail.tbz
bunzip2: decompress failed
bunzip2: can't write p9mail.tar: './bunzip2' file does not exist

I've also tried bunzip2 using -c and redirection, and it still fails.

I don't understand the './bunzip2' file does not exist" complaint. Just
for the heck of it, I did "touch bunzip2" in the directory where I was
trying to bunzip and got

cpu% bunzip2 p9mail.tbz
bunzip2: decompress failed
bunzip2: can't write p9mail.tar: exec header invalid

I suppose this isn't much to go on. I'm assuming that I did something
wrong in making the file or that something bizarre happened in the cifs
copy. Can I recover this somehow? It contains stored emails and an
outbox from work.

Thanks.

Greg



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-13  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-12 12:24 [9fans] bunzip2 problem Gregory Pavelcak
2005-03-12 12:36 ` Charles Forsyth
2005-03-12 15:34   ` Russ Cox
2005-03-13  9:09   ` Steve Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).