- To mount a .dmg image in command line, run the following command in Terminal:
hdiutil mount ~/Downloads/jdk-7u4-macosx-x64.dmg
You will see something like below:$ hdiutil mount ~/Downloads/jdk-7u4-macosx-x64.dmg expected CRC32 $75F74818 /dev/disk3 GUID_partition_scheme /dev/disk3s1 Apple_HFS /Volumes/Oracle JDK 1.7.0_04
It is mounted to "/Volumes/Oracle JDK 1.7.0_04" - To unmount it, run the following command in Terminal:
hdiutil unmount "/Volumes/Oracle JDK 1.7.0_04"
No comments:
Post a Comment