| 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 |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
| Subject: | AW: Tar Problems Under Cygwin |
| Date: | Wed, 21 Aug 2002 16:25:13 +0200 |
| Message-ID: | <D7FBE8A336018A4EB5EBDC6C8988219301A87625@HUELVA.belgium.fhm.de> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| From: | "Morche Matthias" <Matthias DOT Morche AT szm DOT de> |
| To: | <cygwin AT cygwin DOT com> |
| Cc: | <cygwin AT cygwin DOT com> |
| X-OriginalArrivalTime: | 21 Aug 2002 14:25:49.0303 (UTC) FILETIME=[A56D1070:01C2491E] |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g7LEQ4w04196 |
f:filename is interpreted as a remote file to be accessed via rmt on a host named f.
try /cygdrive/f/filename instead :-)
regards matthias
-----Ursprüngliche Nachricht-----
Von: Anthony Massa [mailto:amassa AT san DOT rr DOT com]
Gesendet: Mittwoch, 21. August 2002 16:16
An: cygwin AT cygwin DOT com
Betreff: Tar Problems Under Cygwin
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/
--
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 |