From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward501o.mail.yandex.net (forward501o.mail.yandex.net [37.140.190.203]) by sourceware.org (Postfix) with ESMTPS id 990523858D26 for ; Sun, 6 Nov 2022 15:42:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 990523858D26 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from myt5-89cdf5c4a3a5.qloud-c.yandex.net (myt5-89cdf5c4a3a5.qloud-c.yandex.net [IPv6:2a02:6b8:c12:289b:0:640:89cd:f5c4]) by forward501o.mail.yandex.net (Yandex) with ESMTP id B238345C3CA9; Sun, 6 Nov 2022 18:35:01 +0300 (MSK) Received: by myt5-89cdf5c4a3a5.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 4w9AiSzyl5-Z0giFq5n; Sun, 06 Nov 2022 18:35:01 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1667748901; bh=WTxy+/3Yuo5Ft7LrnBj/FiVTMEFZ3pGfAOhBhVRzfYg=; h=In-Reply-To:Subject:Date:References:To:Message-ID:Reply-To:From; b=lV0anLQ5BhvFLQVrw/aqc2z2s7u1PZg5PtPL0UAVbYGqcFsoCSZ2SvngW12/Lj48K ioo9quYGEcysUCdzEDazzXg6dte7GP778gKZMjJ0yfyYjmIFh5rvp39AR6I8ovCSDf 5gCQJwIm82985C4w+QwjFara+mC6k46P7XT9JGC0= Authentication-Results: myt5-89cdf5c4a3a5.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sun, 06 Nov 2022 15:20:33 -0000 Date: Sun, 6 Nov 2022 18:20:33 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <1496420975.20221106182033@yandex.ru> To: enrique@perezterron.net, cygwin@cygwin.com Subject: Re: Incorrect results from 'cygpath -w' when having anaconda installed In-Reply-To: <7d8ae6437bc0f3a83a083441ef7f47c2@perezterron.net> References: <7d8ae6437bc0f3a83a083441ef7f47c2@perezterron.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_THEBAT,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Greetings, enrique@perezterron.net! > Hello! > I am having incorrect results from 'cygpath -w': > ### I have the cygwin root directory in C:\cygwin64, as confirmed by 'cmd': > $ cmd > Microsoft Windows [Version 10.0.22621.674] > (c) Microsoft Corporation. Med enerett. > C:\cygwin64\home\Enrique>exit > ### Cygwin thinks my home directory is: > $ pwd > /home/Enrique > ### But 'cygpath -w' thinks ... > $ cygpath -w /home/Enrique > C:\Users\Enrique\anaconda3\Library\home\Enrique > ### Investigating, I found that there is no 'home' in C:\Users\Enrique\anaconda3\Library. > ### Then I discovered this: > $ mount > C:/Users/Enrique/anaconda3/Library on / type ntfs (binary,noacl,auto) > C:/Users/Enrique/anaconda3/Library/usr/bin on /bin type ntfs (binary,noacl,auto) > C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto) > Huh ??? How does this work? > Is there a way to hide the mounts done by anaconda? > I guess some anaconda binaries want to find the 'Library' directory as the > root, but cygwin continues to find its own root under C:/cygwin64. Why does > it get tripped by the anaconda install just when doing the path translation? Either you have two Cygwin version sinstalled, or your environment is screwed. Please provide cygcheck output per https://cygwin.com/problems.html -- With best regards, Andrey Repin Sunday, November 6, 2022 18:19:37 Sorry for my terrible english...