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 _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx