delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/07/14:50:42

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.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
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
Date: Mon, 7 Mar 2022 22:36:21 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <11720195.20220307223621@yandex.ru>
To: Claude TETE <claude DOT tete AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: bash from local mounted drive with subst command
In-Reply-To: <CACR4mKVj1SAO04iFOukMKEkD0YNUUD=x3Gh4Ypz8TQaPYx=6TA@mail.gmail.com>
References: <CACR4mKVj1SAO04iFOukMKEkD0YNUUD=x3Gh4Ypz8TQaPYx=6TA AT mail DOT gmail DOT com>
MIME-Version: 1.0
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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...


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019