git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git bash does not access drive f:

From
ABAngelo Borsotti <angelo.borsotti@gmail.com>
Date
Nov 23, 2012, 15:48 UTC
Message-ID
<CAB9Jk9CbwvygUJrvE-G3ZZAc1oE7NOh9eEJKtsxTPabupfNT_A@mail.gmail.com>
In-Reply-To
<20121123153106.GA14509@book.hvoigt.net>
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:
Show 26 quoted lines
> 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
Previous: Heiko Voigt
Message 4 of 4 in “git bash does not access drive f:”
  1. Angelo BorsottiNov 22, 2012
  2. Sebastian LeskeNov 23, 2012
  3. Heiko VoigtNov 23, 2012
  4. Angelo BorsottiNov 23, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.