Some executables cause a bugcheck when running Cygwin off a native RAM disk, which AFAICT is caused by a buggy (Microsoft) driver. This issue will most likely only occur on WinPE and similar environments (tested on 10.0.20348.1).
See <https://github.com/msys2/msys2-runtime/issues/160> for some context. I provide my patches under both the 2-clause BSD license and the CC0 license. Les De Ridder (2): Detect RAM disks as a separate filesystem type Use init_reopen_attr in mmap winsup/cygwin/local_includes/mount.h | 2 ++ winsup/cygwin/local_includes/path.h | 1 + winsup/cygwin/mm/mmap.cc | 5 ++--- winsup/cygwin/mount.cc | 12 ++++++++++++ 4 files changed, 17 insertions(+), 3 deletions(-) -- 2.41.0