zram-tools
zram-tools copied to clipboard
Please add ability to mount /tmp (and simillar temporary folders) on zram device, like zram-config
I've noticed, that zram is a very good solution for /tmp (and maybe other temporary folders, like /var/crash/). There is a zram-config project, which contains an ability to mount /tmp on zram device, see https://git.launchpad.net/~eugenesan/+git/zram-config
Please use patches from zram-config for /tmp mounting. All these improvements already commided to zram-config branch in 2016 by Eugene San, see https://git.launchpad.net/~eugenesan/+git/zram-config * Rework scripts to utilize built-in zram multi cpu support * Add support for /tmp mounting on zram device * Introduce defaults file for setting parameters I successfully use zram-config with these improvements since 2016 in hundreds computers with Ubuntu and Baltix GNU/Linux distributions! For more info look at this bugreport: https://launchpad.net/ubuntu/+source/zram-config/+bug/1548424 (and https://bugs.debian.org/930412 )