zram-init
gentoo-portage-tmpfs
zram-init | gentoo-portage-tmpfs | |
---|---|---|
3 | 1 | |
79 | 0 | |
- | - | |
0.0 | 3.4 | |
almost 3 years ago | about 1 year ago | |
Shell | Shell | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zram-init
-
What are some things that could mount swap that isn't /etc/fstab?
I found a github issue here that seemed to explain things.
-
Why does compiling packages in zram work, but not the Linux kernel?
Also, sys-block/zram-init::gentoo Scripts to support compressed swap devices or ramdisks with zRAM (https://github.com/vaeth/zram-init/)
-
Does Gentoo support zswap (openrc) as seen on fedora 33? I cannot find any explicit guidance in the handbook. Iām looking for disk backed zsawp not swap in zram. Is this only achievable with systemd?
IIRC zswap is zram used for swap, so as long as your kernel has zram support, you can use zswap. You can use zram with zramctl from util-linux. However, there is also the sys-block/zram-init package: it's a wrapper around zramctl which offers an openrc script to automatically create zram devices at boot. It also provides configuration for zswap. Configuration is in /etc/conf.d/zram-init.
gentoo-portage-tmpfs
-
Question about emerge sync / .tmp-unverified-download-quarantine
I already use tmpfs for /var/tmp/portage on my main Gentoo machine. I've had some problems with it for the server in this post, which is 32-bit (I use it to build binaries for my old Core ThinkPad that I can't bear to scrap), I think there's a lack of inodes in 32-bit, but I need to look at it again, I think I can override that. Also just stumbled across this, haven't tried it yet though: https://github.com/nabbi/gentoo-portage-tmpfs
What are some alternatives?
log2ram - ramlog like for systemd (Put log into a ram folder)
save-backlight - An OpenRC service for restoring the last brightness level on reboot
ramroot - Load root file system to ram during boot.
gentoo - Official Gentoo ebuild repository
init - KISS Linux - Init Framework
Gentoo - Personal repository for Gentoo configuration files, patches, hacks and everything else of interest.
gentoo_unattented-setup - Automated modular GENTOO linux setup
portage-bashrc-mv - Provide support for /etc/portage/bashrc.d and /etc/portage/package.cflags for the portage package manager (Gentoo Linux)
hmg - Personal Gentoo/Linux configurations
auto-zram - Automatically configure zram as swap on a machine, using sensible defaults, with the ability to tweak it to your needs.
initscripts - š Scripts to bring up network interfaces and legacy utilities in Fedora.