From: Claude TETE <claude.tete@gmail.com>
To: cygwin@cygwin.com
Subject: bash from local mounted drive with subst command
Date: Sun, 20 Feb 2022 22:38:53 +0100 [thread overview]
Message-ID: <CACR4mKVj1SAO04iFOukMKEkD0YNUUD=x3Gh4Ypz8TQaPYx=6TA@mail.gmail.com> (raw)
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.
next reply other threads:[~2022-02-20 21:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-20 21:38 Claude TETE [this message]
2022-02-20 23:41 ` Takashi Yano
2022-02-20 23:56 ` Takashi Yano
2022-02-21 0:05 ` Thomas Wolff
2022-02-21 0:40 ` Takashi Yano
2022-02-21 11:13 ` Corinna Vinschen
2022-03-07 19:36 ` Andrey Repin
2022-09-19 20:40 David Meyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACR4mKVj1SAO04iFOukMKEkD0YNUUD=x3Gh4Ypz8TQaPYx=6TA@mail.gmail.com' \
--to=claude.tete@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).