Is it possible to have a compressed swap file without using zram or zswap?
Actually, I've successfully mounted a swap file over sftp with sshfs with these commands and I'd like to use compression with it:
mkdir /tmp/remoter
sshfs [email protected]:/sdcard/r /tmp/remoter -C -p 2222 -o allow_root -o no_readahead -o cache=no -o uid=0 -o gid=0
dd if=/dev/zero of=/tmp/remoter/swapfile bs=50M count=1
sudo losetup /dev/loop0 /tmp/remoter/swapfile
sudo mkswap /dev/loop0
sudo swapon /dev/loop0
zram support is missing on both the local and the remote host.