gpt add -b 2048 -s 3515625000 -t EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 -i 1 disk5 ; diskutil list disk5
-bash-3.2# gpt add -b 2048 -s 3515625000 -t EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 -i 1 disk5 ; diskutil list disk5
disk5s1 added
/dev/disk5 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk5
1: Microsoft Basic Data Sauvegarde 10-12-17 1.8 TB disk5s1
1: Microsoft Basic Data Sauvegarde 10-12-17 1.8 TB disk5s1
df -H /Vol*/Sauv*
gpt show disk5
-bash-3.2# gpt show disk5
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 2014
2048 3515625000 1 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
3515627048 391336375
3906963423 32 Sec GPT table
3906963455 1 Sec GPT header
diskutil umount force disk5s1
gpt add -b 3515627048 -s 391336368 -t 7C3457EF-0000-11AA-AA11-00306543ECAC -i 2 disk5 ; diskutil list disk5
-bash-3.2# gpt add -b 3515627048 -s 391336368 -t 7C3457EF-0000-11AA-AA11-00306543ECAC -i 2 disk5 ; diskutil list disk5
disk5s2 added
/dev/disk5 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk5
1: Microsoft Basic Data Sauvegarde 10-12-17 1.8 TB disk5s1
2: Apple_APFS 200.4 GB disk5s2
2: Apple_APFS 200.4 GB disk5s2
newfs_apfs -v Clone /dev/disk5s2 ; diskutil list external
-bash-3.2# newfs_apfs -v Clone /dev/disk5s2 ; diskutil list external
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk2
1: Apple_HFS macOS Base System 2.0 GB disk2s1
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +10.5 MB disk4
/dev/disk5 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk5
1: Microsoft Basic Data Sauvegarde 10-12-17 1.8 TB disk5s1
2: Apple_APFS Container disk26 200.4 GB disk5s2
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +10.5 MB 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 +524.3 KB 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 +2.1 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk20
/dev/disk21 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk21
/dev/disk22 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk22
/dev/disk23 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk23
/dev/disk24 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk24
/dev/disk25 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk25
/dev/disk26 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +200.4 GB disk26
Physical Store disk5s2
1: APFS Volume Clone 20.5 KB disk26s1
/dev/disk5 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk5
1: Microsoft Basic Data Sauvegarde 10-12-17 1.8 TB disk5s1
2: Apple_APFS Container disk26 200.4 GB disk5s2
/dev/disk26 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +200.4 GB disk26
Physical Store disk5s2
1: APFS Volume Clone 20.5 KB disk26s1
caffeinate -dimsu &
cp -av /Vol*/Mac*\do*/* /Vol*/Clone
ls /Vol*
diskutil list