diskutil list
df -H
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/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 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB 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 +2.1 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 +12.6 MB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB 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 +6.3 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk19
/dev/disk20 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *500.1 GB disk20
1: DOS_FAT_32 LACIE NOEMI 500.1 GB disk20s1
-bash-3.2# df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 2.0G 1.3G 715M 65% 50681 4294916598 0% /
devfs 205k 205k 0B 100% 692 0 100% /dev
/dev/disk2 5.2M 483k 4.8M 10% 19 4294967260 0% /private/var/log
/dev/disk3 524k 147k 377k 29% 5 4294967274 0% /Volumes
/dev/disk4 524k 147k 377k 29% 7 4294967272 0% /private/var/tmp
/dev/disk5 524k 156k 369k 30% 11 4294967268 0% /private/var/run
/dev/disk6 2.1M 143k 2.0M 7% 2 4294967277 0% /private/tmp
/dev/disk7 524k 143k 381k 28% 2 4294967277 0% /System/Installation
/dev/disk8 524k 295k 229k 57% 19 4294967260 0% /private/var/db
/dev/disk9 13M 3.4M 9.1M 28% 74 4294967205 0% /private/var/folders
/dev/disk10 4.2M 213k 4.0M 6% 21 4294967258 0% /private/var/root/Library
/dev/disk12 2.1M 143k 2.0M 7% 2 4294967277 0% /private/var/root/Library/Containers
/dev/disk13 524k 180k 344k 35% 11 4294967268 0% /Library/Preferences
/dev/disk14 524k 160k 365k 31% 5 4294967274 0% /Library/Preferences/SystemConfiguration
/dev/disk15 1.0M 176k 872k 17% 6 4294967273 0% /Library/Keychains
/dev/disk16 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/RecoveryTemp
/dev/disk17 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/OSISPredicateUpdateProductTemp
/dev/disk18 524k 143k 381k 28% 2 4294967277 0% /private/var/tmp/InstallerCookies
/dev/disk19 2.1M 143k 2.0M 7% 2 4294967277 0% /Library/Logs/DiagnosticReports
/dev/disk0s2 999G 58G 942G 6% 699429 4294267850 0% /Volumes/Macintosh HD
/dev/disk20s1 500G 85M 500G 1% 0 0 100% /Volumes/LACIE NOEMI
-bash-3.2#
diskutil eraseDisk jhfs+ "Mac DDE" gpt disk20
-bash-3.2# diskutil eraseDisk jhfs+ "Mac DDE" gpt disk20
Started erase on disk20
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk20s2 as Mac OS Extended (Journaled) with name Mac DDE
Initialized /dev/rdisk20s2 as a 465 GB case-insensitive HFS Plus volume with a 40960k journal
Mounting disk
Finished erase on disk20
-bash-3.2#
diskutil list
Last login: Sun Feb 24 11:17:39 on console
MacBook-Pro-de-thibaut:~ thibautmerlet$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_APFS Container disk2 499.9 GB disk1s2
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +499.9 GB disk2
Physical Store disk1s2
1: APFS Volume Mac DDE 16.6 GB disk2s1
2: APFS Volume Preboot 24.7 MB disk2s2
3: APFS Volume Recovery 513.9 MB disk2s3
4: APFS Volume VM 4.3 GB disk2s4
MacBook-Pro-de-thibaut:~ thibautmerlet$
sw_vers -productVersion
df -H /Volumes/"Macintosh HD"
MacBook-Pro-de-thibaut:~ thibautmerlet$ df -H /Volumes/"Macintosh HD"
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 999G 58G 941G 6% 699382 4294267897 0% /Volumes/Macintosh HD
MacBook-Pro-de-thibaut:~ thibautmerlet$