How to format/partition a disk from the command line

 diskutil partitionDisk /dev/disk3 GPT jhfs+ foo 10g jhfs+ bar 10g

Popular posts from this blog

The most useful defaults-write options

Erasing firmware password

Migrating from Windows to Mac