X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0	tests=AWL,BAYES_00,TW_YG
X-Spam-Check-By: sourceware.org
X-ASG-Debug-ID: 1302289454-281588020001-w5GHUG
X-Barracuda-Envelope-From: Illia.Bobyr@ronin-capital.com
From: Illia Bobyr <Illia.Bobyr@ronin-capital.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Date: Fri, 8 Apr 2011 14:03:50 -0500
X-ASG-Orig-Subj: Re: Windows tools can access /usr/share but not /usr/lib
Subject: Re: Windows tools can access /usr/share but not /usr/lib
Message-ID: <4D9F5C16.4090000@ronin-capital.com>
References: <31350629.post@talk.nabble.com> <BANLkTinh5zkcBPHF=R0w4jNBsT8TzpFBxQ@mail.gmail.com> <31352180.post@talk.nabble.com>
In-Reply-To: <31352180.post@talk.nabble.com>
user-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Barracuda-Connect: UNKNOWN[10.106.240.22]
X-Barracuda-Start-Time: 1302289454
X-Barracuda-Encrypted: AES128-SHA
X-Barracuda-URL: http://spam01.roncap.com:8000/cgi-mod/mark.cgi
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 4/8/2011 9:18 AM, Marc Girod wrote:
> Andy Koppe wrote:
>
> >
> > You should use the cygpath utility to translate Cygwin paths to
> > Windows paths, rather than just changing slashes and prefixing with
> > C:\cygwin. Apart from everything else, Cygwin might be installed
> > somewhere other than C:\cygwin.
> >
> I cope for that last problem with df already.
> The reason I didn't use cygpath so far is that I need more flexibility...
> I'll have some paths which don't exist (yet) or only under a ClearCase=20
> view,
> even if they are reported 'bare'; or with a prefix.
>

cygpath should work for a non-existing path.

Ilya Bobyr

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

