Voilà
Bloc de code:
-bash-3.2# diskutil eraseDisk jhfs+ "Macintosh HD" gpt disk0
Started erase on disk0
Unmounting disk
Creating the partition map
Waiting for the disks to reappear
Formatting disk0s2 as Mac OS Extended (Journaled) with name Macintosh HD
Initialized /dev/rdisk0s2 as a 465 GB HFS Plus volume with a 40960k journal
Mounting disk
Finished erase on disk0
-bash-3.2#