From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75438 invoked by alias); 6 Dec 2015 17:01:27 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 75430 invoked by uid 89); 6 Dec 2015 17:01:26 -0000 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 Received: from mail-qk0-f173.google.com (HELO mail-qk0-f173.google.com) (209.85.220.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 06 Dec 2015 17:01:25 +0000 Received: by qkcb135 with SMTP id b135so14747932qkc.3 for ; Sun, 06 Dec 2015 09:01:23 -0800 (PST) X-Received: by 10.55.75.137 with SMTP id y131mr30541519qka.69.1449421283660; Sun, 06 Dec 2015 09:01:23 -0800 (PST) Received: from [192.168.0.9] (d27-96-48-76.nap.wideopenwest.com. [96.27.76.48]) by smtp.gmail.com with ESMTPSA id d64sm9840438qgd.48.2015.12.06.09.01.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Dec 2015 09:01:23 -0800 (PST) Subject: Re: Ability to specify /cygdrive mount value in setup To: cygwin@cygwin.com References: <20151125140420.12415@web008.roc2.bluetie.com> <1447966985.20151125232513@yandex.ru> <56562105.5040500@gmail.com> <6CF2FC1279D0844C9357664DC5A08BA21BC3C3B8@msgb09.nih.gov> <20151126134221.GN2755@calimero.vinschen.de> <87mvtnucw6.fsf@Rainer.invalid> <20151206141054.GC17433@calimero.vinschen.de> <87egeztzwg.fsf@Rainer.invalid> From: cyg Simple X-Enigmail-Draft-Status: N1110 Message-ID: <566469E2.2000002@gmail.com> Date: Sun, 06 Dec 2015 17:01:00 -0000 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> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00069.txt.bz2 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/, > 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