On Cygwin you have correct mount points, which allows to correctly change
directories
$ mount C:/cygwin64/bin on /usr/bin type ntfs (binary,auto) C:/cygwin64/lib on /usr/lib type ntfs (binary,auto) C:/cygwin64 on / type ntfs (binary,auto) C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) $ cd C:/cygwin64/tmp $ pwd /tmp
However MSYS has assumed you can mount "C:/msys64" twice and everything will be
ok. You cannot.
$ mount C:/msys64 on /usr type ntfs (binary,noacl,auto) C:/msys64 on / type ntfs (binary,noacl,auto) C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto) $ cd C:/msys64/tmp $ pwd /usr/tmp
This might seem trivial but it has cascading effects throughout the filesystem.
MSYS mount / and /usr to one location. This is the design of MSYS. There are no issue here.
@Alexx83 C:/msys64/tmp resolving to /usr/tmp is an issue. It should resolve to /tmp like with Cygwin and any normal Linux distribution. For example with Debian
$ cd /usr/tmp bash: cd: /usr/tmp: No such file or directory
/usr/tmp is nonstandard and is a side effect of MSYS incorrect mount points. As with the other ticket regarding "start", these are long standing issues that I would like to see corrected with MSYS2.
Last edit: Steven Penny 2014-02-02
Ok. I will see on it when have free time.
Now we remove mounting /usr to / in MSYS2.
Today we switch to new MSYS2 files layout. Now all MSYS2 packages installing into real /usr prefix. Root directory contains only sysconfig directories: etc, var, tmp, home. For mingw-w64 packages nothing changed - they installing as usual in to /mingw32 and /mingw64 folders. But we still have one virtual mount directory - for compatibility reasons we mount /bin to /usr/bin.
Installers:
32-bit installer
64-bit installer
Portable snapshots:
32-bit archive
64-bit archive
Migrating guide will be sensed to mailing list shortly.
Regards,
Alexey.
Looks good, thanks! I think I can come back to MSYS2 now!
Welcome back, hopefully.