Je ne suis pas "non-binaire", plutôt binaire classique
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 499.9 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 - +499.9 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HDem 442.7 GB disk2s1
2: APFS Volume Preboot 46.0 MB disk2s2
3: APFS Volume Recovery 514.0 MB disk2s3
4: APFS Volume VM 8.6 GB disk2s4
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk3
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *1.8 TB disk4
1: Apple_HFS DISQUE 1.8 TB disk4s1
/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#
df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 2.0G 1.3G 712M 65% 50681 4294916598 0% /
devfs 209k 209k 0B 100% 708 0 100% /dev
/dev/disk3 5.2M 504k 4.7M 10% 20 4294967259 0% /private/var/log
/dev/disk5 524k 147k 377k 29% 5 4294967274 0% /Volumes
/dev/disk6 524k 147k 377k 29% 7 4294967272 0% /private/var/tmp
/dev/disk7 524k 156k 369k 30% 11 4294967268 0% /private/var/run
/dev/disk8 2.1M 143k 2.0M 7% 2 4294967277 0% /private/tmp
/dev/disk9 524k 143k 381k 28% 2 4294967277 0% /System/Installation
/dev/disk10 524k 295k 229k 57% 19 4294967260 0% /private/var/db
/dev/disk11 13M 3.4M 9.2M 28% 71 4294967208 0% /private/var/folders
/dev/disk12 4.2M 205k 4.0M 5% 19 4294967260 0% /private/var/root/Library
/dev/disk14 2.1M 143k 2.0M 7% 2 4294967277 0% /private/var/root/Library/Containers
/dev/disk15 524k 184k 340k 36% 11 4294967268 0% /Library/Preferences
/dev/disk16 524k 160k 365k 31% 5 4294967274 0% /Library/Preferences/SystemConfiguration
/dev/disk17 1.0M 176k 872k 17% 6 4294967273 0% /Library/Keychains
/dev/disk18 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/RecoveryTemp
/dev/disk19 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/OSISPredicateUpdateProductTemp
/dev/disk20 524k 143k 381k 28% 2 4294967277 0% /private/var/tmp/InstallerCookies
/dev/disk21 2.1M 143k 2.0M 7% 2 4294967277 0% /Library/Logs/DiagnosticReports
/dev/disk2s1 500G 443G 48G 91% 1335451 9223372036853440356 0% /Volumes/Macintosh HDem
/dev/disk4s1 1.8T 828M 1.7T 1% 81 4294967198 0% /Volumes/DISQUE
-bash-3.2#
Non macomaniac, untrait d'humour en rapport avec l'identité de genre- rien compris : c'est le message retourné par les commandes ? :hilarious:
diskutil eraseDisk jhfs+ Clone gpt disk4
-bash-3.2# diskutil eraseDisk jhfs+ Clone gpt disk4
Started erase on disk4
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk4s2 as Mac OS Extended (Journaled) with name Clone
Initialized /dev/rdisk4s2 as a 2 TB case-insensitive HFS Plus volume with a 139264k journal
Mounting disk
Finished erase on disk4
-bash-3.2#
caffeinate -dimsu &
cp -av /Volumes/"Macintosh HDem"/* /Volumes/Clone
df -H
df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 2.0G 1.3G 712M 65% 50681 4294916598 0% /
devfs 210k 210k 0B 100% 712 0 100% /dev
/dev/disk3 5.2M 5.2M 0B 100% 27 4294967252 0% /private/var/log
/dev/disk5 524k 147k 377k 29% 5 4294967274 0% /Volumes
/dev/disk6 524k 147k 377k 29% 7 4294967272 0% /private/var/tmp
/dev/disk7 524k 156k 369k 30% 11 4294967268 0% /private/var/run
/dev/disk8 2.1M 143k 2.0M 7% 2 4294967277 0% /private/tmp
/dev/disk9 524k 143k 381k 28% 2 4294967277 0% /System/Installation
/dev/disk10 524k 303k 221k 58% 21 4294967258 0% /private/var/db
/dev/disk11 13M 6.4M 6.2M 52% 216 4294967063 0% /private/var/folders
/dev/disk12 4.2M 897k 3.3M 22% 73 4294967206 0% /private/var/root/Library
/dev/disk14 2.1M 414k 1.7M 20% 76 4294967203 0% /private/var/root/Library/Containers
/dev/disk15 524k 184k 340k 36% 11 4294967268 0% /Library/Preferences
/dev/disk16 524k 160k 365k 31% 5 4294967274 0% /Library/Preferences/SystemConfiguration
/dev/disk17 1.0M 184k 864k 18% 6 4294967273 0% /Library/Keychains
/dev/disk18 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/RecoveryTemp
/dev/disk19 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/OSISPredicateUpdateProductTemp
/dev/disk20 524k 143k 381k 28% 2 4294967277 0% /private/var/tmp/InstallerCookies
/dev/disk21 2.1M 258k 1.8M 13% 4 4294967275 0% /Library/Logs/DiagnosticReports
/dev/disk2s1 500G 443G 48G 91% 1335451 9223372036853440356 0% /Volumes/Macintosh HDem
/dev/disk4s2 1.8T 449G 1.3T 26% 1335709 4293631570 0% /Volumes/Clone
-bash-3.2#
diskutil list
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 499.9 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 - +499.9 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HDem 442.7 GB disk2s1
2: APFS Volume Preboot 46.0 MB disk2s2
3: APFS Volume Recovery 514.0 MB disk2s3
4: APFS Volume VM 8.6 GB disk2s4
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk3
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.8 TB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_HFS Clone 1.8 TB disk4s2
/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#
diskutil ap deleteContainer disk2 "Macintosh HDem"