Discussion

Ask HN: Wish Linux tmpfs support compression option

I run lots of unprivileged containers, and apps inside create tons of temporary files. tmpfs is perfect for this (easy to mount in unprivileged containers). Adding a compression feature would help a lot.

zram needs root to manage. mkfs.btrfs setup feels way too heavy for what is basically “compressed /tmp”.

Why has tmpfs never gotten an official compression feature?

2 points gry_gh 8 months ago 1 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton