MacOS – What are the purposes and safety to enable the hidden debug menu in Disk Utility

disk-utilitymacosrecovery

I'm primarily interested to know whether installation of Lion included the Recovery System.

I understand you can enable extra formats and debugging in Disk Utility, using the following commands:

defaults write com.apple.DiskUtility advanced-image-options -bool true

defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true

Is this safe? What can this be used for?

Best Answer

There's really not much you can't do if you already are in the terminal issuing commands.

It appears to be mostly for the people that made/maintain the Disk Utility program itself to debug the inner workings of the program than something an end user might need.

diskutil list will show the presence or absence of the Recovery HD on systems prior to 10.8. You may need diskutil cs list to show core storage volumes if you are using FileVault 2.

I've not had any issues enabling it other than you might get confused. I used it recently to debug why Boot OS X was appearing in the BackupLoupe utility that scans Time Machine destinations.