bash from local mounted drive with subst command
Claude TETE
claude.tete@gmail.com
Sun Feb 20 21:38:53 GMT 2022
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
Expected
/cygdrive/w
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
Sincerely,
--
Claude TETE
"Those who dream by day are cognizant of many things which escape
those who dream only by night."
Edgar Allan Poe.
More information about the Cygwin
mailing list