delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <BAY22-F240FEB9756D28B946327E28B1E0@phx.gbl> |
X-Sender: | tom_lee01 AT hotmail DOT com |
In-Reply-To: | <451F42EE.2060100@cygwin.com> |
From: | "Tom Lee" <tom_lee01 AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: mssing packages for cygwin |
Date: | Sun, 01 Oct 2006 05:24:35 +0000 |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
>> >>tar cvf test.tar /cygdrive/c/test is nice to work. >> >>howver, can I mount /cygdrive/c as c:/ and run as >>tar cvf test.tar c:/test ? >> >>I have tar.exe djgpp and it works this way. > > >djgpp is for the DOS world. If that's what you really want, you're better >off using djgpp. But to your question, there is no need to use mount in >the >way you describe. '/cygdrive/c' is a built-in mount to map 'c:' into POSIX >paths. If you're hung up on DOS paths, you can try'em but if you have >problems that you don't get using the POSIX paths, then you're better >off using 'cygpath' to convert DOS->POSIX. For example: > > cygpath -u c:/test > >As far as Cygwin (and the vast majority of the underlying Win32 functions >accepting paths), \ and / are synonymous. thanks for your hep. I don't undersand why "ls c:/test" works but not for "tar cvf test.tar c:/test" Tom _________________________________________________________________ Try the new Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |