diskutil list
df -H
Last login: Thu Feb 14 21:26:40 on console
MacBook-Air-de-Samantha:~ samanthapeirano$ diskutil list df -H
Usage: diskutil list [-plist] [Filter] [MountPoint|DiskIdentifier|DeviceNode]
Display complete or partial list of whole, partition, and Storage System disks.
Filter is a combination of "internal", "external", "physical", or "virtual".
Root or administrator access is not required.
MacBook-Air-de-Samantha:~ samanthapeirano$
Last login: Thu Feb 14 21:28:44 on ttys000
MacBook-Air-de-Samantha:~ samanthapeirano$ 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 disk1 121.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 57.9 GB disk1s1
2: APFS Volume Preboot 21.5 MB disk1s2
3: APFS Volume Recovery 519.0 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Clone 996.0 GB disk2s2
3: Apple_HFS OS X Base System 3.7 GB disk2s3
MacBook-Air-de-Samantha:~ samanthapeirano$
Last login: Fri Feb 15 01:43:59 on ttys000
MacBook-Air-de-Samantha:~ samanthapeirano$ df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 121G 58G 61G 49% 867803 9223372036853908004 0% /
devfs 195k 195k 0B 100% 660 0 100% /dev
/dev/disk1s4 121G 1.1G 61G 2% 1 9223372036854775806 0% /private/var/vm
map -hosts 0B 0B 0B 100% 0 0 100% /net
map auto_home 0B 0B 0B 100% 0 0 100% /home
/dev/disk2s2 996G 1.2G 995G 1% 11520 4294955759 0% /Volumes/Clone
/dev/disk2s3 3.7G 1.3G 2.4G 35% 45242 4294922037 0% /Volumes/OS X Base System
MacBook-Air-de-Samantha:~ samanthapeirano$
diskutil partitionDisk disk2 gpt jhfs+ Clone 121g jhfs+ DDE 0b
diskutil list
Last login: Fri Feb 15 10:50:40 on console
MacBook-Air-de-Samantha:~ samanthapeirano$ 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 disk1 121.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 62.6 GB disk1s1
2: APFS Volume Preboot 21.6 MB disk1s2
3: APFS Volume Recovery 519.0 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Clone 120.2 GB disk2s2
3: Apple_Boot Recovery HD 650.0 MB disk2s3
4: Apple_HFS DDE 878.8 GB disk2s4
MacBook-Air-de-Samantha:~ samanthapeirano$
diskutil eraseDisk jhfs+ "DDE de Samantha" gpt disk2 ; diskutil list disk2