Command Details

$ diskutil list

List all connected disks and their partitions.

Related Commands

  • $ diskutil listList all connected disks and their partitions.
  • $ diskutil listList all connected disks and their partitions.
  • $ diskutil info /dev/diskXDisplay information about a specific disk.
  • $ diskutil mount /dev/diskXsYMount a specific partition.
  • $ diskutil unmount /dev/diskXsYUnmount a specific partition.
  • $ diskutil eject /dev/diskXEject a disk.