From: Andrey Repin <anrdaemon@yandex.ru>
To: Wayne Davison <wayne@opencoder.net>, cygwin@cygwin.com
Subject: Re: symbolic links to /cygdrive/X/xxx with capital letter X
Date: Sat, 13 Jun 2020 23:47:08 +0300 [thread overview]
Message-ID: <905838171.20200613234708@yandex.ru> (raw)
In-Reply-To: <CAHSx_Sv+YR7pCvyVX23TwuECo-57VPgQAe=VaU2m-MsKMVJQnA@mail.gmail.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...
next prev parent reply other threads:[~2020-06-13 20:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-12 7:06 Arthur Norman
2020-06-12 11:03 ` Andrey Repin
2020-06-12 17:51 ` Wayne Davison
2020-06-13 20:47 ` Andrey Repin [this message]
2020-06-13 23:33 ` Wayne Davison
2020-06-30 11:14 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=905838171.20200613234708@yandex.ru \
--to=anrdaemon@yandex.ru \
--cc=cygwin@cygwin.com \
--cc=wayne@opencoder.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).