Disk Utility - Manage Disks and Volumes | Online Free DevTools by Hexmos

Manage disks with Disk Utility, a command-line tool for macOS. Repair volumes, unmount disks, and eject media using command prompts. Free online tool, no registration required.

diskutil

Utility to manage local disks and volumes. Some subcommands such as partitiondisk have their own usage documentation. More information: https://keith.github.io/xcode-man-pages/diskutil.8.html.

  • List all currently available disks, partitions and mounted volumes:

diskutil list

  • Repair the filesystem data structures of a volume:

diskutil repairVolume {{/dev/disk}}

  • Unmount a volume:

diskutil unmountDisk {{/dev/disk}}

  • Eject a CD/DVD (unmount first):

diskutil eject {{/dev/diskX}}