Menu

1 / 2

Disk Viewers Show Sizes. I Wanted One That Says Who Put the Bytes There.

DEV Community: go·kt·1 day ago
#Ohefve8d
#devtogo#devto#dev#chonk#disk
Reading 0:00
15s threshold

My Mac was out of space, and the biggest single file was ~/Library/Application Support/rancher-desktop/lima/0/diffdisk : 81G. That is Rancher Desktop's VM disk. Inside the VM, Docker used 3.4G and the filesystem 3.6G. The other 77G was space the guest had already freed and never handed back to macOS.

docker system prune does not touch that. fstrim inside the guest does. No disk viewer I had would tell me either fact; they list directories and sizes. Cleaners delete a fixed list of caches, and a VM disk is not on it.

Same machine: a 54G podman-machine-default-arm64.raw that took 16G on disk because it is sparse. Tools that add up file lengths reported 54.

So I wrote chonk.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.