delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Reply-To: | <amassa AT san DOT rr DOT com> |
From: | "Anthony Massa" <amassa AT san DOT rr DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Tar Problems Under Cygwin |
Date: | Wed, 21 Aug 2002 07:16:23 -0700 |
Message-ID: | <NBBBJIKCMKBJFEAHMGMAGECDEHAA.amassa@san.rr.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700 |
Importance: | Normal |
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 command: $ 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: $ mount 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. Thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |