* git bash does not access drive f: @ 2012-11-22 7:07 Angelo Borsotti 2012-11-23 0:58 ` Sebastian Leske 2012-11-23 15:31 ` Heiko Voigt 0 siblings, 2 replies; 4+ messages in thread From: Angelo Borsotti @ 2012-11-22 7:07 UTC (permalink / raw) To: git 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 Is there any way to make it access drive f? -Angelo Borsotti ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git bash does not access drive f: 2012-11-22 7:07 git bash does not access drive f: Angelo Borsotti @ 2012-11-23 0:58 ` Sebastian Leske 2012-11-23 15:31 ` Heiko Voigt 1 sibling, 0 replies; 4+ messages in thread From: Sebastian Leske @ 2012-11-23 0:58 UTC (permalink / raw) To: git On 2012-11-22, Angelo Borsotti <angelo.borsotti@gmail.com> wrote: > 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git bash does not access drive f: 2012-11-22 7:07 git bash does not access drive f: Angelo Borsotti 2012-11-23 0:58 ` Sebastian Leske @ 2012-11-23 15:31 ` Heiko Voigt 2012-11-23 15:48 ` Angelo Borsotti 1 sibling, 1 reply; 4+ messages in thread From: Heiko Voigt @ 2012-11-23 15:31 UTC (permalink / raw) To: Angelo Borsotti; +Cc: git Hi, On Thu, Nov 22, 2012 at 08:07:55AM +0100, Angelo Borsotti wrote: > 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 > > > Is there any way to make it access drive f? Try using the environment variable MSYS_WATCH_FSTAB=YesPlease. We have an optimization in msys that does not update the virtually mounted folders and makes msys executable startups faster. I had similar issues with mounted disk images. The other alternative: After having the external disc mounted logout and login again that AFAIR that should also help. Cheers Heiko ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git bash does not access drive f: 2012-11-23 15:31 ` Heiko Voigt @ 2012-11-23 15:48 ` Angelo Borsotti 0 siblings, 0 replies; 4+ messages in thread From: Angelo Borsotti @ 2012-11-23 15:48 UTC (permalink / raw) To: Heiko Voigt; +Cc: git Hi Heiko, I have changed the external drive and seen that the new one works. The issue is, I guess, that the first drive was named "My Passport", with a space in it, while the second one is "Iomega". Spaces in drive names are not accepted by Linux, which could explain why they are a problem also with git bash (even if bash could access them using what is passed to it, which is a drive letter, and not the drive name). Thank you -Angelo On 23 November 2012 16:31, Heiko Voigt <hvoigt@hvoigt.net> wrote: > Hi, > > On Thu, Nov 22, 2012 at 08:07:55AM +0100, Angelo Borsotti wrote: >> 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 >> >> >> Is there any way to make it access drive f? > > Try using the environment variable MSYS_WATCH_FSTAB=YesPlease. > > We have an optimization in msys that does not update the virtually > mounted folders and makes msys executable startups faster. I had similar > issues with mounted disk images. > > The other alternative: After having the external disc mounted logout and > login again that AFAIR that should also help. > > Cheers Heiko ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-11-25 10:15 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-11-22 7:07 git bash does not access drive f: Angelo Borsotti 2012-11-23 0:58 ` Sebastian Leske 2012-11-23 15:31 ` Heiko Voigt 2012-11-23 15:48 ` Angelo Borsotti
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox