[vox-tech] mmap()

Norm Matloff matloff at cs.ucdavis.edu
Tue Oct 22 15:45:21 PDT 2013


Anyone here know much about mmap()?  I have following problem:

Machines A and B, running Fedora, share files through NFS.  I use mmap()
to create a file-backed array on A and B, shared via the common file
system.  I want changes to the array at A to propagate to B and vice
versa.

I can't get this to work consistently, even using msync() (synchronous
or asynchronous).

This is for general use software, so using a "better" shared file system
than NFS is not really an option.

Any ideas?

Norm Matloff



More information about the vox-tech mailing list