Page 1 of 1

renaming the .zm.mmap.## file [SOLVED]

Posted: Sat Feb 06, 2010 5:13 am
by th
I'm planning to run a few instances of Zoneminder on a single system.

I've found ways around everything such as database names, init scripts, socket files, etc, etc. But one that is a little trickier than a standard mysql or script change is the name of the .zm.mmap.## file when you're using MMAP.

Is there any way other than adjusting the source code to alter that name?

Otherwise I'm afraid as soon as I have a second instance with a camera, its going to be fighting for /dev/shm/.zm.mmap.1

Thanks

Re: renaming the .zm.mmap.## file

Posted: Sun Feb 07, 2010 3:14 am
by th
Never mind on the question.

It turns out that by changing ZM_PATH_MAP to a (sub)directory based on the instance, it won't overlap file names.