Mountable DMGs are usually identified as VAX COFF, or bzip2 (/)# file ~/iOS/5.1. # Use file command to show image file type.
In iOS, however, the DMG file format is that of a raw file system, and cannot be readily mounted with hdiutil, unless the -imagekey argument is specified: Likewise, the recovery, restore, and file system images of iOS (contained in the. IOS is capable of mounting DMG files, and the iPhone SDK indeed contains the 'DeveloperDiskImage.dmg', which contains various binaries and libraries for profiling, such as CHUD. The handling of the mount operation is performed at the kernel level by the extension. Some also have a license embedded in them, so as to force OS X to display an acceptance GUI, prior to performing the actual mount. DMG is not a single file format, and has several sub formats. In Mac OS, a double click or using the command line of open(1) will similarly result in a mount. The DMG files are self-contained file-system images, and can be mounted by the hdiutil(1) command, which can also be used to create them (using its -create option). They contain a mechanism for loopback mounts.
Apple Disk Image (commonly called d m g) is the de-facto disk image format on OS X and iOS.