From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) by sourceware.org (Postfix) with ESMTPS id 2381D3851C06 for ; Sat, 13 Jun 2020 20:50:04 +0000 (GMT) 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@yandex.ru Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward106o.mail.yandex.net (Yandex) with ESMTP id 5A29B5060B2B; Sat, 13 Jun 2020 23:50:02 +0300 (MSK) Received: from myt5-ca5ec8faf378.qloud-c.yandex.net (myt5-ca5ec8faf378.qloud-c.yandex.net [2a02:6b8:c12:2514:0:640:ca5e:c8fa]) by mxback13j.mail.yandex.net (mxback/Yandex) with ESMTP id TbzIQVOBXW-o1xKrYgW; Sat, 13 Jun 2020 23:50:02 +0300 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 Received: by myt5-ca5ec8faf378.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id gR6bfQp6qO-o1pmKXmc; Sat, 13 Jun 2020 23:50:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sat, 13 Jun 2020 20:47:08 -0000 Date: Sat, 13 Jun 2020 23:47:08 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <905838171.20200613234708@yandex.ru> To: Wayne Davison , cygwin@cygwin.com Subject: Re: symbolic links to /cygdrive/X/xxx with capital letter X In-Reply-To: References: <63059339.20200612140353@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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@cygwin.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: , X-List-Received-Date: Sat, 13 Jun 2020 20:50:06 -0000 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...