This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tar Does Not Handle Win32 Pathnames ...




At 09:38 AM 5/25/00, Jason Tishler wrote:
>... but other commands like gunzip, ls, etc. do:
>
>     $ ls C:/temp/make-3.79.tar.gz
>     C:/temp/make-3.79.tar.gz
>
>     $ tar -tvzf C:/temp/make-3.79.tar.gz
>     tar (grandchild): Cannot open archive C:/temp/make-3.79.tar.gz
>     ...
>
>     $ gunzip C:/temp/make-3.79.tar.gz
>
>     $ ls C:/temp/make-3.79.tar
>     C:/temp/make-3.79.tar
>
>     $ tar -tvf C:/temp/make-3.79.tar
>     tar: Cannot open C:/temp/make-3.79.tar
>     ...
>
>Is the above expected behavior?
>
>Attached is, cygcheck.out, the output from cygcheck -r -s -v.
>
>Thanks,
>Jason
>
>-- 
>Jason Tishler
>Director, Software Engineering       Phone: +1 (732) 264-8770 x235
>Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
>82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
>Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com


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).


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



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]