bash from local mounted drive with subst command

Andrey Repin anrdaemon@yandex.ru
Mon Mar 7 19:36:21 GMT 2022


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



More information about the Cygwin mailing list