From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward500o.mail.yandex.net (forward500o.mail.yandex.net [37.140.190.195]) by sourceware.org (Postfix) with ESMTPS id BEBD03858430 for ; Mon, 7 Mar 2022 19:50:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BEBD03858430 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 vla1-4834b80a1080.qloud-c.yandex.net (vla1-4834b80a1080.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:1e06:0:640:4834:b80a]) by forward500o.mail.yandex.net (Yandex) with ESMTP id C5F659417FF; Mon, 7 Mar 2022 22:50:01 +0300 (MSK) Received: from vla1-62318bfe5573.qloud-c.yandex.net (vla1-62318bfe5573.qloud-c.yandex.net [2a02:6b8:c0d:3819:0:640:6231:8bfe]) by vla1-4834b80a1080.qloud-c.yandex.net (mxback/Yandex) with ESMTP id R7TVpdeP4T-o1e0wxgj; Mon, 07 Mar 2022 22:50:01 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1646682601; bh=j7Aef16zfZUKqEAh6VP/Lz9AcZUOXYjlp7clpkQQfE4=; h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To; b=OHWYRC5BvayqHy4Z2WK6wJxEHX90tcVJ1Y33VoacF5UvVLAMNPQPQfV3aHN+nUA4X guG6xy1+om0iAZLCQHwWxnX39nZqVC9DhpKnsfanoZe4qpOC1fRsjfrUzgIh0AaeKe kwIO/Z9iZiJ3hbeHWAha+a7+EA7OMpPVdZUgeCWk= Authentication-Results: vla1-4834b80a1080.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla1-62318bfe5573.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id Cygj7gAhXY-o1Jmnueu; Mon, 07 Mar 2022 22:50:01 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (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; Mon, 07 Mar 2022 19:36:22 -0000 Date: Mon, 7 Mar 2022 22:36:21 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <11720195.20220307223621@yandex.ru> To: Claude TETE , cygwin@cygwin.com Subject: Re: bash from local mounted drive with subst command In-Reply-To: References: 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, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, XM_LIGHT_HEAVY autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Mon, 07 Mar 2022 19:50:06 -0000 Greetings, Claude TETE! > Hi all, > A bash in a local mounted drive, use realpath instead of mounted one > for all child processes. > Example, mount a local folder on Z: drive, go in there and run any > external command: > $ subst Z: C:\\Users > $ cd /cygdrive/z/ > $ /bin/pwd > /cygdrive/c/Users Don't cd? > Expected > /cygdrive/w What is the PROBLEM, pretty please? The path is correct either way, so, what are you trying to fix? > Issue since Cygwin 3.3 and also with latest snapshot (2022-02-17 > 11:55:32) after reading this: > https://cygwin.com/pipermail/cygwin/2021-December/250153.html > https://cygwin.com/pipermail/cygwin-patches/2021q4/011583.html -- With best regards, Andrey Repin Monday, March 7, 2022 22:34:43 Sorry for my terrible english...