Re: [msysGit] can I add additional mount points to Git's MSys?

641 views
Skip to first unread message

Johannes Sixt

unread,
May 4, 2013, 2:59:36 PM5/4/13
to dle...@gmail.com, msy...@googlegroups.com
Am 03.05.2013 02:23, schrieb dle...@gmail.com:
> Hi all,
> I'm running Git For Windows 1.8.0, installed via the usual Windows
> installer to C:\Program Files (x86)\Git. I also installed Mingw/MSys to
> C:\Mingw to add some of the tools that are missing from GFW's very
> minimalist MSys installation.
>
> I was trying to figure out how to mount /mingw in Git Bash, so that I
> can use the other MSys tools from within Git Bash.
>
> It seems that GFW's MSys installation does *not* look for /etc/fstab,
> even on startup. Is there another trick to mounting C:\Mingw on /mingw?

Repeat your experiment after setting MSYS_WATCH_FSTAB=1 in the
environment. Note that this must be set before *any* MSYS program
(including the interactive bash) is started. IOW, you must set it via
the Windows control panel.

Does it make a difference?

-- Hannes

Daniel Lenski

unread,
May 6, 2013, 1:36:17 PM5/6/13
to Johannes Sixt, msy...@googlegroups.com
Thanks, Hannes. I added "C:/mingw/msys/1.0 /mingw" to $MSYSGITROOT/etc/fstab and set MSYS_WATCH_FSTAB=1.

The result is a bit mixed:
* If I try to start the Git Bash shell via SysWOW64 (C:\Windows\SysWOW64\cmd.exe /c ""C:\Program Files (x86)\Git\bin\sh.exe" --login -i") the shell hangs and the Git Bash prompt never appears.
* If I start Git Bash without the WOW64 intermediary, it starts fine, and mounts the desired directory appropriately. However, most of the msys-specific executables hang, seemingly due to different assumptions about where to find libraries in the POSIX path.

Is there any document or webpage that describes the differences between GFW's msys, and the "vanilla" msys from mingw, or how to integrate the two?

Thanks,
Dan

Reply all
Reply to author
Forward
0 new messages