public inbox for
 help / color / mirror / Atom feed
From: Claude TETE <>
Subject: bash from local mounted drive with subst command
Date: Sun, 20 Feb 2022 22:38:53 +0100	[thread overview]
Message-ID: <> (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


Issue since Cygwin 3.3 and also with latest snapshot (2022-02-17
11:55:32) after reading this:


Claude TETE
"Those who dream by day are cognizant of many things which escape
 those who dream only by night."
Edgar Allan Poe.

             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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \

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