macOS du overcounts APFS clones on Chrome code_sign_clone files

deallocatedobjects.com3 min read

The author explains that macOS du and Finder overcount the disk space used by APFS clones because they add up individual file sizes without recognizing shared storage blocks. Disk scans can also inadvertently trigger iCloud Drive to download evicted files, expanding local storage usage. The author provides a Swift script to identify whether files share storage blocks and practical commands to exclude iCloud folders from disk scans. Open article →