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 X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <905838171.20200613234708@yandex.ru> To: Wayne Davison , cygwin AT cygwin DOT com Subject: Re: symbolic links to /cygdrive/X/xxx with capital letter X In-Reply-To: References: <63059339 DOT 20200612140353 AT yandex DOT ru> 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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