Case: Mounting Mac DMG's and the misterious post-exec diskimage-helper

So I recently had to do mounting and unmounting of DMG files from the command line using perl. The steps I used were:  (a) Convert image to UDRW (so I could modify the image contents)(b) Mount the image(c) Modify contents(d) Unmount the image(e) Convert to UDCO (compressed image format, so I could save space and…

1