Posts by Chrome853

    I have follow this post to set swap file on my raspberry pi zero and work

    Iridium
    April 14, 2019 at 6:09 PM

    however, I have not changed the SWAPFILESIZE="128" at first, then I closed the swap and reboot and then modified SWAPFILESIZE="other" and reboot

    the swap file recreated still is 128MB, and I follow this guide(https://linuxhint.com/change_swap_size_ubuntu/) try to modify, but it not work:

    swapon -s

    swapoff -a

    dd if=/dev/zero of=/swapfile bs=1M count=256 (can not use dd, say swapfile readonly)

    so, how to change swapfile size?