The hdiutil Command on macOS: Disk Images, DMG-to-ISO, and the .cdr Gotcha
hdiutil is the command macOS uses to build, mount, convert, and inspect disk images — .dmg, .sparseimage, .sparsebundle, and the raw .iso/.cdr family. It ships with the system at /usr/bin/hdiutil and talks to Apple’s DiskImages…
