Bloc de code:
-bash-3.2# diskutil ap deletecontainer disk1 "Macintosh HD"
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Unmounting Volume "Macintosh HD" on disk1s1
Unmounting Volume "Preboot" on disk1s2
Unmounting Volume "Recovery" on disk1s3
Unmounting Volume "VM" on disk1s4
Unmounting Volume "Sans titre" on disk1s5
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s2 as a 110 GB case-insensitive HFS Plus volume with a 16384k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s2
Finished APFS operation on disk1
-bash-3.2#