MSYS2-packages: tools get so slow outside MSYS2 shell

Hi,

I am sorry if this is not the proper place for this question.

The tools (like cp, mv, cat, etc.) work smoothly under the MSYS2 shell, but when I try to launch them under Windows cmd, they will take too long to response. For example, open Windows cmd console and cd to %MSYS2_ROOT%\usr\bin, input mv and hit enter, it takes almost 10 seconds to output the help info of mv…

I am new to MSYS2 and it is really great, I just want to use it everywhere, not only under MSYS2 shell, is it possible? Or, is there any workaround to achieve this?

Thanks, Kelvin

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

Yeah, after disable db in nsswitch.conf, those commands work great also in Windows cmd! Also, there is a great article describes this problem and gives a solution: http://bjg.io/guide/cygwin-ad/.

Thanks for all of you, closing the long live issue now.

@lanzkron /etc/nsswitch.conf under MSYS2 installation folder.

@lanzkron It is in “etc” folder in your installation.