M
-bash-3.2# diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 251.0 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk2 250.7 GB disk0s2
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS macOS Base System 2.0 GB disk1s1
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.7 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HD 243.0 GB disk2s1
2: APFS Volume Preboot 46.1 MB disk2s2
3: APFS Volume Recovery 510.4 MB disk2s3
4: APFS Volume VM 24.6 KB disk2s4
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB 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 +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB 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 +12.6 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB 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 +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 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 +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#
ls /Volumes/Macin*
-bash-3.2# ls /Volumes/Macin*
.DS_Store .file
.DocumentRevisions-V100 .fseventsd
.HFS+ Private Directory Data? .vol
.OSInstallerMessages Recovered Items
.PKInstallSandboxManager Users
.PKInstallSandboxManager-SystemSoftware macOS Install Data
.Spotlight-V100 private
.dbfseventsd
-bash-3.2#
rm -rf /Volumes/"Macintosh HD"/"macOS Install Data"
rm -rf /Volumes/"Macintosh HD"/"Recovered Items"/Applications/"Install macOS Catalina.app"
df -H /Volumes/Macin*
-bash-3.2# diskutil ap listSnaps disk2s1
Snapshot for disk2s1 (1 found)
|
+-- Name: com.apple.TimeMachine.2019-10-09-185308
XID: 1636245
NOTE: This snapshot sets the minimal allowed size of APFS Container disk2
-bash-3.2#
-bash-3.2# diskutil ap deleteSnapshot disk2s1 -xid 1636245
Deleting APFS Snapshot XID 1636245 "com.apple.TimeMachine.2019-10-09-185308" from APFS Volume disk2s1
Started APFS operation
Finished APFS operation
-bash-3.2# df -H /Volumes/Macin*
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk2s1 251G 219G 31G 88% 706616 9223372036854069191 0% /Volumes/Macintosh HD
-bash-3.2#