OSX Notes

From Wiki
Jump to: navigation, search

Mounting a disk image file

hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount <filename>

Unmounting a disk image file

hdiutil detach /dev/disk<x>

Mount a file system at a given mount point

hdiutil mount /dev/disk<x>s<n> -mountpoint <path>

Unmount a file system

hdiutil unmount <path>

List disk volumes

diskutil list