delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/13/16:51:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2381D3851C06
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1592081402; bh=qBGyqxiew3vrVR/Gb/iXp7VhrWtfKHVdxjRtoXA5JE4=;
h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;
b=QFhFUqGfZaB502OjQiN+n2F5zotJr5NsXnTyeaUi/8jNHLZUHCI2tju48pO9/FN+R
XtJtDH4piaeeORnHw3lWODpb/hTntkj+RdJx5pj3v8ULvdQ7ciIAbwj0GOD4iAyyf5
1wuuvgqB5GORtr/NIJMemHDk9+YW1Bfz90YGordE=
Authentication-Results: mxback13j.mail.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Sat, 13 Jun 2020 23:47:08 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <905838171.20200613234708@yandex.ru>
To: Wayne Davison <wayne AT opencoder DOT net>, cygwin AT cygwin DOT com
Subject: Re: symbolic links to /cygdrive/X/xxx with capital letter X
In-Reply-To: <CAHSx_Sv+YR7pCvyVX23TwuECo-57VPgQAe=VaU2m-MsKMVJQnA@mail.gmail.com>
References: <alpine DOT WNT DOT 2 DOT 00 DOT 2006120735160 DOT 21688 AT panamint>
<63059339 DOT 20200612140353 AT yandex DOT ru>
<CAHSx_Sv+YR7pCvyVX23TwuECo-57VPgQAe=VaU2m-MsKMVJQnA AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Greetings, Wayne Davison!

> On Fri, Jun 12, 2020 at 4:05 AM Andrey Repin wrote:
>> And you've got exactly what you asked for.

> I think you missed the important part of the email. Distilled down,
> this is wrong:

> $ ln -s /cygdrive/C/Windows foo
> $ readlink foo
> /mnt/C/Windows

The cygdrive prefix is resolved, if no other mount points match.
Since you have /mnt/C mount point, it is resolved first.

> The symlink's value changed to a path that doesn't exist on a typical
> install and is now broken. The original /cygdrive/C/Windows path works
> fine as long as you have it mounted to ignore case. Perhaps the
> rewrite (if it is even required) should change it into
> /cygdrive/c/Windows?

You can resolve it to `cygpath --proc-cygdrive`, which is more useful, if you
want a portable solution.


-- 
With best regards,
Andrey Repin
Saturday, June 13, 2020 23:44:47

Sorry for my terrible english...

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

- Raw text -


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