Attach one .dmg file on different computers at the same time (hdiutil attach)
Solution 1:
Is it possible to attach the same file on multiple Computers at the same time?
This is possible if -- AND ONLY IF -- the disk image is read-only.
Most filesystems -- including HFS+ -- are designed with the assumption that the system mounting the filesystem has exclusive access to the filesystem. Attempting to mount a HFS+ filesystem as read/write from multiple systems will likely result in multiple systems trying to update data in the same locations on disk, causing catastrophic filesystem corruption.
The safest way to ensure that the image is always mounted read-only will be to create it as a compressed disk image, or write-protect it directly on the server. If these options are not available, use
hdiutil attach -readonly ...
to mount it on the client.