Am 24.02.2014 um 15:56 schrieb Howard Chu hyc@symas.com:
Certainly haven't seen the behavior you describe, but I seldom test on MacOS or HFS+. I would use FFS, since it supports sparse files.
On Windows, Linux, and FreeBSD, there's no problem increasing the mapsize and preserving the existing data.
Maybe there isn't a problem with increasing the mapsize on OS X after all, because as soon as you wrote that, I couldn't reproduce the problem.... This would make everything a lot easier.
I tried my test program with a 4GB file. The available capacity goes down by 4 GB on OS X and it took quite some time to write the initial file, so I think the I'll stick with the growth approach for now.
Thanks for the help so far.
Ciao Nat! --------------------------------------------------------- Apple is the steam train that owns the tracks. - S. Jobs