4 examples for diskutil

{{ score }}
  # shows all available disks and their partitioning 
diskutil list
        
{{ score }}
  # Show detailed information on a particular disk or partition 
diskutil info disk-or-partition
        
{{ score }}
  # Format device /dev/disk3, giving it name "NAME", in given format (FAT32)
diskutil eraseDisk FAT32 NAME /dev/disk3
        
{{ score }}
  # List available formats for formatting 
diskutil listFileSystems