summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-26Merge branch 'zmount-refactor'HEADmasterAaron Ball
2021-09-25Complete refactor of zram-swap -> zmountzmount-refactorAaron Ball
This renames `zram-swap` to `zmount`. Previously, the zram-swap script did not allow any configuration without modifying the script itself. This introduces support for a new file, placed at `/etc/ztab`. This file is structured similarly to the fstab file and controls most configurable aspects of the mounting process. This also includes an example `ztab` file, as well as a Makefile which can perform the installation process (supporting the common variable DESTDIR for packagers).
2021-05-21Merge branch 'load-zram-earlier'Aaron Ball
2021-05-21Move zram modprobe to top of mainAaron Ball
Both the status and start commands require the zram module to be loaded, so this should resolve any module loading issues.
2021-05-19Load kernel module on startAaron Ball
2021-05-19Improve status commandAaron Ball
Rather than only listing what device is in use, it now lists all of the details of the device, including usage, using the zramctl command.
2021-05-19Initial commitAaron Ball
The script currently creates a zram swap device that uses half of the system memory (calculated MemTotal from /proc/meminfo) and half of the system cpus for compression. Note that this must be run as root.

Generated by cgit