This is the mail archive of the
mailing list for the Cygwin project.
Tar Problems Under Cygwin
- From: "Anthony Massa" <amassa at san dot rr dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 21 Aug 2002 07:16:23 -0700
- Subject: Tar Problems Under Cygwin
- Reply-to: <amassa at san dot rr dot com>
I wanted to see if I could get some help using tar.
First I changed to the root of the directory tree I wanted to zip up. I
created a zip file under the bash shell version 2.05.0(8)-release using the
$ tar cf - DIR_TO_ZIP | bzip2 -9 > files.tar.bz2
This file was then placed on a CD-ROM. When I tried to un-tar the file
using the command:
$ tar xjvf f:/i386rdwr.tar.bz2
I get the following output error message:
f: unknown host
tar (child): f\:/i386rdwr.tar.bz2: Cannot open: I/O error
tar (child): Error is not recoverable: exiting now
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: error 0
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to *attempt* to recover
data from undamaged sections of corrupted files.
tar: Child returned status 2
tar: Error exit delayed from previous errors
I have the following mounts on my system:
E:\cygwin\bin on /usr/bin type system (textmode)
E:\cygwin\lib on /usr/lib type system (textmode)
e:\cygwin\tmp on /tmp type user (binmode)
E:\cygwin on / type system (textmode)
\\.\a: on /dev/fd0 type user (binmode)
e: on /ecos-e type user (textmode)
u: on /ecos-u type user (textmode)
c: on /cygdrive/c type user (textmode,noumount)
d: on /cygdrive/d type user (textmode,noumount)
f: on /cygdrive/f type user (textmode,noumount)
g: on /cygdrive/g type user (textmode,noumount)
h: on /cygdrive/h type user (textmode,noumount)
i: on /cygdrive/i type user (textmode,noumount)
I'm curious why I cannot simply refer to my CD-ROM drive using F:/ when I
un-tar the file. How do I need to unzip the file from the CD-ROM drive.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html