🖥️diskutil

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the diskutil command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#  ██████╗ ██╗███████╗██╗  ██╗██╗   ██╗████████╗██╗██╗     
#  ██╔══██╗██║██╔════╝██║ ██╔╝██║   ██║╚══██╔══╝██║██║     
#  ██║  ██║██║███████╗█████╔╝ ██║   ██║   ██║   ██║██║     
#  ██║  ██║██║╚════██║██╔═██╗ ██║   ██║   ██║   ██║██║     
#  ██████╔╝██║███████║██║  ██╗╚██████╔╝   ██║   ██║███████╗
#  ╚═════╝ ╚═╝╚══════╝╚═╝  ╚═╝ ╚═════╝    ╚═╝   ╚═╝╚══════╝

# 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
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░