OpenConfiguration.Mode.automatic

Try to open the disk image as read-write, and fallback to read-only if there’s no read-write access.

Declaration

case automatic