www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=GFUObFLq+94viFT9 | |
+ENM5siRNc8bi+m3SHK2ykKI+7dzUrNdL14N1grJAf9XZlIfp6hqpw8IPPLNyNtf | |
5A5ohHz4BYXtZlxZTSnQbuSKFPgsdn4AX18adJ6SCxftWfobgIOk/UlPAPPzYEJv | |
YCXXTZCmVGnyCYnYtASy9Vz+gTw= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=yla4rNdT9bLjhrnFeKKIMh | |
nbfMY=; b=isr3+V1cc2GT9gUnBvZb7ZKSz5Mkq7uCKxa3b//NW6v3kR7Zi7Fbcg | |
3faFewDvh2CEGRgD2wjAMcWoqUuhjWwXMiN8iAjMwGW1qcx2Wo4kfBwBcjL7oDcq | |
r0xirOj0xBUmtWDM4KHXJPRw8qYz0wjb0xbLBVdacmDI+kvo+jwk8= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.1 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-qk0-f173.google.com |
X-Received: | by 10.55.75.137 with SMTP id y131mr30541519qka.69.1449421283660; Sun, 06 Dec 2015 09:01:23 -0800 (PST) |
Subject: | Re: Ability to specify /cygdrive mount value in setup |
To: | cygwin AT cygwin DOT com |
References: | <20151125140420 DOT 12415 AT web008 DOT roc2 DOT bluetie DOT com> <1447966985 DOT 20151125232513 AT yandex DOT ru> <56562105 DOT 5040500 AT gmail DOT com> <6CF2FC1279D0844C9357664DC5A08BA21BC3C3B8 AT msgb09 DOT nih DOT gov> <20151126134221 DOT GN2755 AT calimero DOT vinschen DOT de> <87mvtnucw6 DOT fsf AT Rainer DOT invalid> <20151206141054 DOT GC17433 AT calimero DOT vinschen DOT de> <87egeztzwg DOT fsf AT Rainer DOT invalid> |
From: | cyg Simple <cygsimple AT gmail DOT com> |
X-Enigmail-Draft-Status: | N1110 |
Message-ID: | <566469E2.2000002@gmail.com> |
Date: | Sun, 6 Dec 2015 12:01:22 -0500 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <87egeztzwg.fsf@Rainer.invalid> |
X-IsSubscribed: | yes |
On 12/6/2015 9:28 AM, Achim Gratz wrote: > Corinna Vinschen writes: >> No offense, but you didn't understand what I mean, it seems. > > I did, I think -- but read my request again. > >> Don't call cygpath. Just use /proc/cygdrive directly. It's that >> simple. While the cygdrive prefix changes, /proc/cygdrive will >> *never* change. E.g. > > I need cygpath to get the system directory (hint: it need not be in > C:\Windows\System32) and cygpath delivers that directory with the > cygdrive prefix and not /proc/cygpath prepended. I wouldn't mind if all > those special directories would also be available via /proc/<whatever>, > which means I wouldn't even need to fork cygpath for getting there. > Use the $WINDIR variable to find the Windows path and manipulate its value to prepend /proc/cygdrive/ and suffix its value with /system32. The system32 directory will always be in $WINDIR/sytem32. -- cyg Simple -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |