Age | Commit message (Collapse) | Author |
|
|
|
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).
|
|
|
|
Both the status and start commands require the zram module to be loaded,
so this should resolve any module loading issues.
|
|
|
|
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.
|
|
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.
|