CmdID

CmdID / Commands

diskutil

Utility to manage local disks and volumes. tldr-pages

On macOS

Opens CmdID with your command. It is read in your browser and sent nowhere.

Utility to manage local disks and volumes. Some subcommands such as partitiondisk have their own usage documentation.

List all currently available disks, partitions, and mounted volumes

diskutil listIdentify

Repair the filesystem data structures of a volume

diskutil repairVolume /dev/diskIdentify

Unmount a volume

diskutil unmountDisk /dev/diskIdentify

Eject a CD/DVD (unmount first)

diskutil eject /dev/diskXIdentify