Voici
Bloc de code:
-bash-3.2# diskutil eraseDisk jhfs+ TEST gpt disk4
Started erase on disk4
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk4s2 as Mac OS Extended (Journaled) with name TEST
Initialized /dev/rdisk4s2 as a 2 TB case-insensitive HFS Plus volume with a 155648k journal
Mounting disk
Finished erase on disk4
-bash-3.2#