From: Dave V. <da...@va...> - 2012-06-24 17:54:23
|
Ronald P. Regensburg wrote: > Even if a solution like this would work, I suppose there is no way to > prevent mounting of a disk image in OSX that is already mounted in SS/B2. Good point Ronald, I only thought of first mounting in OS X and then in SS, not the other way around. Alexei Svitkine wrote: > Perhaps SheepShaver could lock the file while in use? I did some testing, and it looks like OS X's disk images use advisory locks! (I'm not sure if this is documented anywhere, but I'll take what I can get.) So we don't even need all that silly IOKit stuff, flock() will just solve everything. All I'm worried about now is other platforms. Can anybody think of a good way to detect loopback on Linux? -V |