Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git bash can not identify USB flash drives

Tags:

git

I use git bash under windowsXP system.I try to enter my USB Disk by entering "cd G:" in git bash,but it apears that "sh.exe : cd : g:: No such file or directory".

I can open my USB Disk under my system.

What's wrong with it ?How can i solve the problem?

like image 741
Gina Avatar asked Dec 23 '11 06:12

Gina


People also ask

Why is my USB flash drive not showing up?

Here are the likely reasons: The drive isn't seated properly in the port. The drive isn't on (this is rare, but some some models of USB drives have a physical power switch). The USB port on computer is bad.


1 Answers

Gina, the real answer is in your comment above. You have to close down not just any Git bash window, but ALL git bash windows and then re-open one of them. At that point, cd /f will work. By the way, cd F: also works, as the bash terminal converts that to /f. I just confirmed this on Windows 7 64-bit.

like image 171
partofthething Avatar answered Sep 28 '22 02:09

partofthething