delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/12/16:47:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010112163929.022ef108@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Fri, 12 Jan 2001 16:42:35 -0500
To: ryk AT dspwiz DOT com, "Joey Mukherjee" <joey AT swri DOT org>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Problem with F:/ and /cygdrive/f/
Cc: <cygwin AT sources DOT redhat DOT com>
In-Reply-To: <14943.28516.912000.791598@gargle.gargle.HOWL>
References: <000501c07cb8$52146970$2397a281 AT marisa DOT space DOT swri DOT edu>
<000501c07cb8$52146970$2397a281 AT marisa DOT space DOT swri DOT edu>
Mime-Version: 1.0

At 03:56 PM 1/12/2001, Richard Y. Kim wrote:
> >>>>> "JM" == Joey Mukherjee <joey AT swri DOT org> writes:
>
>     JM> I have a program which works perfectly when I tell
>     JM> it to read from a file at /cygdrive/f/ .  However,
>     JM> when I set the directory to F:/, the program no
>     JM> longer works.
>
>I would like to add that GNU tar that comes with cygwin
>distribution has always had the same problem going back
>several years.  For example,
>
>   $ cd /tmp
>   $ touch foo
>   $ tar cf foo.tar foo
>   $ tar tf /cygdrive/c/cygwin/tmp/foo.tar
>   foo
>   $ tar tf c:/cygwin/tmp/foo.tar
>   c: Unknown Host
>   tar: c\:/cygwin/tmp/foo.tar: Cannot open: I/O error
>   tar: Error is not recoverable: exiting now
>
>I searched the FAQ file for "tar", but could not find any
>mention of this problem.  I've been reading cygwin list for
>some time, but have not seen any mention of this issue.
>
>My apologies if this issue has already been discussed.
>



Apology accepted.  It has been discussed and I'm not sure why your 
search of the archives didn't unearth it.  The answer here is that this 
is a feature of GNU tar, not Cygwin.  If you want to use a colon in the name,
use the --force-local flag.  A colon in a file name means the portion 
to the left is a host name.  See tar --help or the man page for more
details.



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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