zram-swap is broken

e9hack e9hack at gmail.com
Fri Jul 24 06:20:38 EDT 2020


Am 24.07.2020 um 10:34 schrieb Rui Salvaterra:
> Do you by chance have block-mount installed? The block-mount swapon
> utility is more limited than the one BusyBox provides. I sent patches
> to remove swapon/swapoff from block-mount (they're not needed to
> handle fstab/hotplug swap mounts), but another possibility would be
> just to make sure the zram-swap init script calls /sbin/swapon, and
> not the first swapon it finds in the path. Let me know what the
> preferred solution is, so I can fix it accordingly.
> 

I've block-mount installed. I'm not sure, if can deinstall it. I'm using an USB stick as additional storage. 
I had to select manually swapon/swapoff from busybox and to change the path to swapon in the zram ini-script.

Regards,
Hartmut



More information about the openwrt-devel mailing list