Ryan$ diskutil apfs deleteVolume 6FA4A600-D3C1-4CA8-927D-1A827FEFD493
Started APFS operation
Deleting APFS Volume from its APFS Container
Unmounting disk1s3
Deleting Volume
Finished APFS operation
Ryans-MacBook-Air:~ Ryan$ diskutil apfs deleteVolume 2EE19001-AB9D-4CEC-9FBF-825BA282D8AB
Started APFS operation
Deleting APFS Volume from its APFS Container
Unmounting disk1s2
Deleting Volume
Finished APFS operation
Ryans-MacBook-Air:~ Ryan$ diskutil apfs deleteVolume AEAC09D4-C3E0-44A8-9C1A-CC5269FD9706
Started APFS operation
Deleting APFS Volume from its APFS Container
Unmounting disk1s1
Deleting Volume
Finished APFS operation
Ryans-MacBook-Air:~ Ryan$ diskutil apfs deleteContainer C5638454-94C8-4CC1-B8AC-201134505545
Started APFS operation on disk1
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
Reformatting former APFS disks
Initialized /dev/rdisk0s4 as a 3 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s4
Finished APFS operation on disk1
Ryans-MacBook-Air:~ Ryan$ diskutil eraseVolume jhfs+ BC1 disk0s3
Started erase on disk0s3 BOOTCAMP
Unmounting disk
Erasing
Initialized /dev/rdisk0s3 as a 41 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished erase on disk0s3 BC1
Ryans-MacBook-Air:~ Ryan$ diskutil mergePartitions BCMP disk0s3 disk0s4
Usage: diskutil mergePartitions [force] format name
DiskIdentifier|DeviceNode DiskIdentifier|DeviceNode
Merge two or more pre-existing partitions into one. The first disk parameter
is the starting partition; the second disk parameter is the ending partition;
this given range of two or more partitions will be merged into one.
All partitions in the range, except for the first one, must be unmountable.
All data on merged partitions other than the first will be lost; data on the
first partition will be lost as well if the "force" argument is given.
If "force" is not given, and the first partition has a resizable file system
(e.g. JHFS+), it will be grown in a data-preserving manner, even if a different
file system is specified (in fact, your file system and volume name parameters
are both ignored in this case). Also, if "force" is not given, and the first
partition is not resizable, you will be prompted if you want to erase.
However, if "force" is given, the first partition is always formatted. You
should do this if you wish to reformat to a new file system type.
Merged partitions are required to be ordered sequentially on disk.
See `diskutil list` for the actual on-disk ordering; BSD slice identifiers
may in certain circumstances not always be in numerical order but the
top-to-bottom order given by diskutil list is always the on-disk order.
Ownership of the affected disk is required.
Example: diskutil mergePartitions JHFS+ NewName disk3s4 disk3s7
This example will merge all partitions *BETWEEN* disk3s4 and disk3s7,
preserving data on disk3s4 but destroying data on disk3s5, disk3s6,
disk3s7 and any invisible free space partitions between those disks;
disk3s4 will be grown to cover the full space if possible.
Ryans-MacBook-Air:~ Ryan$ diskutil eraseVolume fat32 BOOTCAMP disk0s3