News for hackers. Stuff that matters.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by api on Sunday May 04, 2025 @03:46PM (#43889019)
There are things like content defined chunking and content based lookup. Evidently that’s too hard.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by XorNot on Sunday May 04, 2025 @05:01PM (#43889550)
The problem on Linux is that hard links are exactly what you don't want.

If hard links from the get go were copy on write, then I suspect content defined storage would've become the standard because it would be easy.

Instead we have this construct which makes it hard and dangerous (hard links hide data dependencies) on most Linux filesystems and no good answers (even ZFS can't easily handle a cp --reflink operation, and the problem is it's not the default anyway).

Re:Why Flatpak Apps Use So Much Disk Space on Linux by api on Tuesday May 06, 2025 @12:49PM (#43907148)
Use either symbolic links (which is fine in most cases) or overlay filesystems. I agree that hard links are usually not what you want.