Post

HN
Hacker News

hdiutil is deprecated in macOS 27 Golden Gate

Ranked #1 on Hacker News with 76 points and 23 comments.

The macOS command-line tool hdiutil is used to manipulate disk images. From the WHAT'S NEW section of man hdiutil on the latest macOS 27 Golden Gate beta:

There’s also a DEPRECATION NOTICE at the top of the man page that lists the diskutil replacements for hdiutil subcommands.

The majority of options from hdiutil appear to be preserved in diskutil , though under different names. However, some hdiutil options are missing, for example -puppetstrings :

Also missing are some options specific to hdiutil create -srcfolder :

I attempted to compare hdiutil and diskutil on Golden Gate by performing a backup of the user home folder, something I do daily on my MacBook Pro with macOS Sequoia. First:

This took around 110 to 115 seconds on average.