On Fri, Aug 31, 2018 at 02:16:25PM +0200, Karel Zak wrote:
On Fri, Aug 24, 2018 at 02:28:00PM +0000, Zbigniew Jędrzejewski-Szmek
wrote:
> [2]
https://github.com/systemd/zram-generator
Oh...
ExecStart=sh -c 'echo {disksize} >/sys/block/%i/disksize'
It's necessary to directly write to /sys. We have zramctl(8)
everywhere...
Right. I had in the TODO to replace that 'echo' with something,
and using zramctl seems like the right thing to do. Thanks for
the pointer.
Zbyszek