I recently created some .dmg files using Disk Utility on my Mac system. I placed these files on my Linux server which hosts them to the network via Samba. The advantage of mounting the .dmg files is that I can use a native Mac file system, which means I can store Aperture vaults on there as well as have these locations indexed/journalised by Spotlight.
I wanted to ensure that I would be able to read the data on these disk images if I was Mac-Less, but most guides indicated I should use the following command:
mount -t hfs -o loop /directory/location_of_dmg.dmg /mnt/mountpoint
This gave errors about bad filesystem type...
It seems later versions of Mac OSX use a filesystem recognised by Linux as "hfsplus", so the following command is required:
mount -t hfsplus -o loop /directory/location_of_dmg.dmg /mnt/mountpoint
This way in case of some disaster which leaves me with no Mac system, I can still retrieve/recover data from the Mac disk images!