delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/06/04:47:57

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: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 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.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 AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Ability to specify /cygdrive mount value in setup
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>
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019