Re: bash from local mounted drive with subst command

2022-09-19 Thread David Meyer
We're running into this same issue on my project. We're trying to shorten path names to get around Visual Studio limitations in path lengths, which are unfortunately very long for us since we're generating filenames based on package names and the like. If subst won't work to let us shorten path n

Re: bash from local mounted drive with subst command

2022-03-07 Thread Andrey Repin
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

Re: bash from local mounted drive with subst command

2022-02-21 Thread Corinna Vinschen
On Feb 21 09:40, Takashi Yano wrote: > On Mon, 21 Feb 2022 01:05:32 +0100 > Thomas Wolff wrote: > > pwd -P will also work like /bin/pwd - but: subst is more comparable to > > mount than to ln -s > > Ah, indeed, mount --bind a/b/c c in Linux does not behave > like this. > > Corinna, what do you t

Re: bash from local mounted drive with subst command

2022-02-20 Thread Takashi Yano
On Mon, 21 Feb 2022 01:05:32 +0100 Thomas Wolff wrote: > Am 21.02.2022 um 00:56 schrieb Takashi Yano: > > On Mon, 21 Feb 2022 08:41:52 +0900 > > Takashi Yano wrote: > >> On Sun, 20 Feb 2022 22:38:53 +0100 > >> Claude TETE wrote: > >>> A bash in a local mounted drive, use realpath instead of mounted

Re: bash from local mounted drive with subst command

2022-02-20 Thread Thomas Wolff
Am 21.02.2022 um 00:56 schrieb Takashi Yano: On Mon, 21 Feb 2022 08:41:52 +0900 Takashi Yano wrote: On Sun, 20 Feb 2022 22:38:53 +0100 Claude TETE wrote: 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,

Re: bash from local mounted drive with subst command

2022-02-20 Thread Takashi Yano
On Mon, 21 Feb 2022 08:41:52 +0900 Takashi Yano wrote: > On Sun, 20 Feb 2022 22:38:53 +0100 > Claude TETE wrote: > > 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 > > exte

Re: bash from local mounted drive with subst command

2022-02-20 Thread Takashi Yano
On Sun, 20 Feb 2022 22:38:53 +0100 Claude TETE wrote: > 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

bash from local mounted drive with subst command

2022-02-20 Thread 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 Expected /cygdrive/w Issue since Cygwin