mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +00:00
15 lines
353 B
Plaintext
15 lines
353 B
Plaintext
# diskutil
|
|
# Utility to manage local disks and volumes (Mac OS X)
|
|
|
|
# List all currently available disks, partitions and mounted volumes:
|
|
diskutil list
|
|
|
|
# Repair the file system data structures of a volume:
|
|
diskutil repairVolume /dev/diskX
|
|
|
|
# Unmount a volume:
|
|
diskutil unmountDisk /dev/diskX
|
|
|
|
# Eject a CD/DVD (unmount first):
|
|
diskutil eject /dev/disk1
|