delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
From: | "Parker, Ron" <rdparker AT butlermfg DOT com> |
To: | Jason Tishler <Jason DOT Tishler AT dothill DOT com>, |
"Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> | |
Cc: | "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT hotpop DOT com> |
Subject: | RE: tar Does Not Handle Win32 Pathnames ... |
Date: | Thu, 25 May 2000 11:58:15 -0500 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2448.0) |
Message-Id: | <20000525170108.AA1E2F807@mx1.hotpop.com> |
------_=_NextPart_000_01BFC66A.CC67CE02 Content-Type: text/plain; charset="windows-1252" > "Larry Hall (RFK Partners, Inc)" wrote: > > Try using \ for the path separators. Any path with a \ in > it is interested > > as a Win32 path. Paths without / are considered POSIX > paths I believe (so > > the result is tar is looking for a host named "C" using NFS syntax). > > Before posting, I had already tried the following: > > $ tar -tvzf 'C:\temp\make-3.79.tar.gz' > tar (grandchild): Cannot open archive C:\temp\make-3.79.tar.gz > ... Cygwin will interpret any path with a '\' in it as a Windows path. However I believe that ':' is being parsed in tar and it is trying to treat it as an NFS path before cygwin ever sees the backslashed path. There are only two syntaxes I am aware of that can be used with tar to access this path. Both must be given with slashes so that they pass through to cygwin and are interepreted by its path parsing routines. tar -tvzf /cygdrive/c/temp/make-3.79.tar.gz and tar -tvzf //c/temp/make-3.79.tar.gz The second form may not resolve to the expected path if there is a machine named "C" on your network. ------_=_NextPart_000_01BFC66A.CC67CE02 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ------_=_NextPart_000_01BFC66A.CC67CE02--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |