Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

umbilical

macrumors 65816
Original poster
May 3, 2008
1,328
362
FL, USA
I need delete an external SSD with this command: diskutil eraseDisk APFS 'MySSD' /dev/disk4

but I don't know which disk choose: disk4, disk4s1, disk4s2, disk5 or disk5s2 ??? confused, which one is the top level or which I need to select to erase the whole disk?

Code:
/dev/disk4 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk4
   1:                        EFI EFI                     209.7 MB   disk4s1
   2:                 Apple_APFS Container disk5         1000.0 GB  disk4s2

/dev/disk5 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1000.0 GB  disk5
                                 Physical Store disk4s2
   1:                APFS Volume Time Machine Backup     192.7 GB   disk5s2
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.