MacOSX: List all available disks and partitions

In MacOSX if you want to get a list of all disks and partitions including their device names, you can use the diskutil program.

# diskutil list

macosx-diskutil-list