VMware Communities
zohar81
Contributor
Contributor

Attempt to mmap a file for reading that lived on host machine from a VM in OSX.

Hi,

I'm trying to run `mmap` with PROT_READ and MAP_PRIVATE flags (meaning that no synching between processes that may reside on different machines) , on a remote file that reside in host machine from my VM (both are running MacOS version 10.12.6)

it seems like the mmap fails on invalid argument (error code 22) ,and I wonder if it's implemented in fusion virtual filesystem.

I would understand if the mapping was for writing also, or that it was shared between all processes that access the file. but this configuration should work.

any idea why do I fail here ?

thanks

0 Kudos
0 Replies