delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/07/13:53:54

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankar AT cotagesoft DOT com>
Subject: Re: bug w/ 'tar' implementation
Date: Wed, 07 May 2003 10:31:51 -0700
Lines: 17
Message-ID: <3EB94307.5080604@cotagesoft.com>
References: <20030507170217 DOT 39082 DOT qmail AT web12103 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401
X-Accept-Language: en-us, en
In-Reply-To: <20030507170217.39082.qmail@web12103.mail.yahoo.com>

Todd Gee wrote:

> prompt> tar cf D:/cygwin/home/user/foo.tar *
> tar: D\:/cygwin/home/user/foo.tar: Cannot open: I/O error
> tar: Error is not recoverable: exiting now

IAFNAB (It's a Feature, Not a Bug).

Tar explicitly documents that archive names of the format "x:y" are 
treated as "path y on host x". So in your case, tar is trying to contact 
a host called  "D", and failing.

Since this is cygwin tar we're talking about here, use the 
/cygdrive/d/cygwin/home/user/foo.tar notation (or since, in your case, 
this is Cygwin's own root, you'll be able to say just 
"/home/user/foo.tar" and take advantage of the mount points).



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019