diskutil list
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 121.1 GB disk0s2
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS OS X Base System 2.0 GB disk1s1
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk2
Physical Store disk0s2
1: APFS Volume VM 1.3 GB disk2s4
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *500.1 GB disk3
1: Windows_NTFS 23GO 24.4 GB disk3s1
2: Apple_HFS LaCie 470.1 GB disk3s2
3: Windows_NTFS 6GO 5.6 GB disk3s3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk20
/dev/disk21 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk21
-bash-3.2#
gpt show disk0
-bash-3.2# gpt show disk0
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 236568496 2 GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
236978136 7
236978143 32 Sec GPT table
236978175 1 Sec GPT header
-bash-3.2#
gpt remove -i 2 disk0
gpt show disk0
-bash-3.2# gpt show disk0
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 236568503
236978143 32 Sec GPT table
236978175 1 Sec GPT header
-bash-3.2#
gpt add -b 409640 -s 118284248 -t hfs -i 2 /dev/disk0
gpt show disk0
-bash-3.2# gpt show disk0
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 118284248 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
118693888 118284255
236978143 32 Sec GPT table
236978175 1 Sec GPT header
-bash-3.2#
409640 118284248 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
gpt add -b 118693888 -s 118284248 -t hfs -i 3 /dev/disk0
/dev/disk0s3 added
gpt show disk0
-bash-3.2# gpt add -b 118693888 -s 118284248 -t hfs -i 3 /dev/disk0
/dev/disk0s3 added
-bash-3.2# gpt show disk0
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 118284248 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
118693888 118284248 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
236978136 7
236978143 32 Sec GPT table
236978175 1 Sec GPT header
-bash-3.2#
1 1 Pri GPT header
2 32 Pri GPT table
newfs_hfs -J -v "Macintosh HD" /dev/disk0s2
newfs_hfs -J -v RECO /dev/disk0s3
diskutil list