X-Recipient: archive-cygwin@delorie.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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=EV2K4
	xwkd+K+ST3wYRFRzd1fMjhki6I7gRlmFBNR6MxK3w5DUZPKSByKeFjMQtJkPpcud
	lALu9rOaBmrvCAdUHRjxw/bhbrkeUpp+Ij5VCLS7O6q9f7y0O8meunS1tCHLewUr
	8n0K4mfbdMvQN2RkZfDwt/+WhZ9FpNZje4buFw=
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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=4Cs17zSyJQF
	JIR2JmdXILFoSR2A=; b=kYuBB0h1OmZsAgTLycY2O1+QpulLwzSpGmmnFRlj7ER
	oZvXNH/RjdPUoCZ+OHvxPWNhClTfnlvxm+8pxfShiSps8Ou//wYTeYmDoss1ogGi
	ith8b5fibSjJLaHUTcuhjHlnaYpQkveVI/xweobQFqdwi0pfgOLddHA25xQfoV/U
	=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-in-04.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 3pD2xj3ByMzY8B
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Ability to specify /cygdrive mount value in setup
References: <20151125140420.12415@web008.roc2.bluetie.com>	<1447966985.20151125232513@yandex.ru> <56562105.5040500@gmail.com>	<6CF2FC1279D0844C9357664DC5A08BA21BC3C3B8@msgb09.nih.gov>	<20151126134221.GN2755@calimero.vinschen.de>
Date: Sun, 06 Dec 2015 10:47:37 +0100
In-Reply-To: <20151126134221.GN2755@calimero.vinschen.de> (Corinna Vinschen's	message of "Thu, 26 Nov 2015 14:42:21 +0100")
Message-ID: <87mvtnucw6.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain

Corinna Vinschen writes:
> The right thing to do is to change the base-files package to utilize
> /proc/cygdrive.  It's a vrtual symlink pointing to the actual cygdrive
> prefix currently in use.  If these symlinks under /etc used the
> /proc/cygdrive symlink, they would work all the time, independenly of
> the actual cygdrive prefix.

I've looked into it and I'd like to give that task back to the cygpath
maintainer. :-)

> Achim, any chance to tweak base-file accordingly?

At the moment I'm using $(/usr/bin/cygpath -S -u) to get the system
directory.  Since the /cygdrive prefix could be anything, I'd either
have to first figure it out via $(dirname $(/usr/bin/cygpath -u C:))
since the output from mount is a bit unwieldy.  Maybe we should just
force the cygdrive prefix to be /cygdrive for postinstall scripts
anyway.

But there really ought to be a way to simply have cygpath deliver the
canonical /proc/cygdrive path instead of whatever that link points to,
maybe that switch should be called "-U"?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra

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

