Closed BlueGone closed 2 years ago
Interesting. I may have to use you as a guinea pig for this one @BlueGone as macOS is the only system I have no access to.
Maybe it is problem with all APFS systems. The output of diskutil apfs list
give exploitable data:
APFS Container (1 found)
|
+-- Container disk2 A2E15A1D-6F7C-415B-A1B7-58301D43E63C
====================================================
APFS Container Reference: disk2
Size (Capacity Ceiling): 511900434432 B (511.9 GB)
Capacity In Use By Volumes: 102448488448 B (102.4 GB) (20.0% used)
Capacity Not Allocated: 409451945984 B (409.5 GB) (80.0% free)
|
+-< Physical Store disk1s2 5BA69665-334D-4AAF-B252-F8307881566F
| -----------------------------------------------------------
| APFS Physical Store Disk: disk1s2
| Size: 511900434432 B (511.9 GB)
|
+-> Volume disk2s1 7ED28FE3-A580-4A42-BE6B-C1F88A6C4939
| ---------------------------------------------------
| APFS Volume Disk (Role): disk2s1 (Data)
| Name: macos - Data (Case-insensitive)
| Mount Point: /System/Volumes/Data
| Capacity Consumed: 89982230528 B (90.0 GB)
| FileVault: No
|
+-> Volume disk2s2 F3113ADB-4757-4725-B0FD-C816DAA43135
| ---------------------------------------------------
| APFS Volume Disk (Role): disk2s2 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 85151744 B (85.2 MB)
| FileVault: No
|
+-> Volume disk2s3 5F2EC600-7589-43F0-B036-28A0952B281A
| ---------------------------------------------------
| APFS Volume Disk (Role): disk2s3 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 528945152 B (528.9 MB)
| FileVault: No
|
+-> Volume disk2s4 916FA6C3-3816-4FB9-B2C9-AF94CAD0A3A9
| ---------------------------------------------------
| APFS Volume Disk (Role): disk2s4 (VM)
| Name: VM (Case-insensitive)
| Mount Point: /private/var/vm
| Capacity Consumed: 1074810880 B (1.1 GB)
| FileVault: No
|
+-> Volume disk2s5 BD729F7A-C3FB-47D2-9D44-958A6746CF0A
---------------------------------------------------
APFS Volume Disk (Role): disk2s5 (System)
Name: macos (Case-insensitive)
Mount Point: /
Capacity Consumed: 10614734848 B (10.6 GB)
FileVault: No
I just don't really know if it is reliable to depends on this command. What if there is more than 1 APFS container ? What is the return code of the command if there is no APFS container ? If there is an apfs container, but that the system is not on it ? 🤷♂️
Oh, that could be very useful. But you bring up some valid concerns. I think to solve this issue we'll probably need to make some assumptions about APFS containers and the majority of use cases. Particularly this
Size (Capacity Ceiling): 511900434432 B (511.9 GB) Capacity In Use By Volumes: 102448488448 B (102.4 GB) (20.0% used)
Is useful in the first few lines.
Im also on 10.5 (Mac book air 2015) and I can help + am experiencing this issue. Not sure if it helps but Apple filesystem documentation
Resolved by #664
I'm submitting a ... (check one with "x")
Bug report On macOS Catalina, the displayed disk usage (percentage and usage) is invalid:
It is due to the fact that Catalina features a new partition scheme, separating the core system (mounted on
/
as read-only), and the rest of the system (mounted as/System/Volumes/Data
). As an exemple, here is the output ofdf -H
:and associated screenshots of Disk Utility: