Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Shankar Unni <shankar@cotagesoft.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.39082.qmail@web12103.mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.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/

