I freed 30GB using Filelight
-
I'm new to docker and all of my shit stopped working recently. Just wouldn't load. Took about a half hour to find out that old images were taking up about 63GB on my 100GB boot partition, resulting in it being completely full.
I added the command to prune 3 month old images to my update scripts.
-
[moonpie@osiris ~]$ du -h $(which filelight) 316K /usr/bin/filelight
K = kilobytes.
[moonpie@osiris ~]$ pacman -Ql filelight | awk '{print $2}' | xargs du | awk '{print $1}' | paste -sd+ | bc 45347740
(45347740 bytes is 43.247 megabytes).
KDE packages have many dependencies, which cause the packages themselves to be extremely tiny. By sharing a ton of code via libraries, they save a lot of space.
-
I normally use
rm
for that. Orwipefs
if I'm feeling particularly spicy. -
Filelight is about finding the folders you don't use that take a lot of space. Basically an easier way to look into which folder takes up what.
-
Wooosh
-
Personally I'm a huge fan of dust
-
Yeah, it's really not called out in the docs. I found out the same way.
-
--cache option
I will check this out!
-
Oh that's funny x3
-
prune as fuck
-
you do realize this makes everyone immediately discard your opinion, because it's useless, right?
-
My users home directory is ephemeral as well, so this wouldn't happen. Everything I didn't declare to persist is deleted on reboot.
What I do use tools like these for is verifying that my persistent storage paths are properly bind mounted and files end up in the correct filesystem.
I use
dust
for this, specifically with the-x
flag to not traverse multiple filesystems. -
So now I'm curious what distro you like most? I've been using popos for about a year at this point then tried fedora for about a week and now installed arch to feel around
-
The machine that was last installed in 2014 is Ubuntu LTS. It's been upgraded through all the LTS releases since then. Currently on 22.04 with the free Ubuntu Pro enabled. I use a mix of Ubuntu LTS and Debian stable on other machines. For example my laptop is on Debian 12. Debian has been the most reliable OS and community for over 30 years and I believe it'll still be around 30 years from now, if we haven't destroyed ourselves.