diskutil apfs list 这里的disk5s1是挂载的一张tf卡,结果被我使用mac的磁盘工具格式化为APFS格式了,我现在要讲其重新格式化为exFAT格式。
diskutil apfs deleteVolume /dev/disk5s1 输出以下结果
Started APFS operation
Deleting APFS Volume from its APFS Container
Unmounting disk5s1
Erasing any xART session referenced by 5CEC7055-6985-4B7E-AAC2-62434BCD00E9
Deleting Volume
Removing any Preboot and Recovery Directories
Finished APFS operation
diskutil apfs deleteContainer /dev/disk5 输出以下结果
Started APFS operation on disk5
Deleting APFS Container with all of its APFS Volumes
Unmounting Volumes
Deleting Volumes
Deleting Container
Wiping former APFS disks
Switching content types
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk4s2
Finished APFS operation on disk5
Removing disk4s2 from partition map