Re: git bash does not access drive f:
- From
- Sebastian Leske <sleske@sleske.name>
- Date
- Nov 23, 2012, 00:58 UTC
- Message-ID
- <slrnkatidl.gkp.sleske@iota.localnet>
- In-Reply-To
- <CAB9Jk9Ae46PNRex9QrEy9gTgqAbn8KUFifmxQU4s5K5mDDmDZQ@mail.gmail.com>
On 2012-11-22, Angelo Borsotti <angelo.borsotti@gmail.com> wrote:
Show 11 quoted lines
> Hi > > I have attached an external disc, which appears on Windows as drive f: > in Windows Explorer. > Right-clicking on it displays a context menu showing (among other > items) Git Init Here, Git Gui and > Git Bash. The first two work properly on that drive. > However, the git bash does not. Not even the one that is run from the icon: > > $ cd f: > sh.exe": cd: f:: No such file or directory
This is probably a known limitation of MSYS (the shell environment that Git Bash uses, which is part of MingW):
Drive letters added after MSYS has started only become visible if all MSYS processes are stopped and restarted. See e.g.
How to register newly mounted drive in git bash? http://stackoverflow.com/questions/5197540/
for some more details.
It seems there is no easy workaround, so you'll need to close all Git Bash windows and reopen them.