Power & Source of Big Ideas

How to disable swap on FriendlyCore

Moderators: chensy, FATechsupport

I'm using FriendlyCore xenial 4.14 image with NanoPi neo and I'm trying to disable a swap file by
- sudo swapoff -v /mnt /mnt/512MB.swap
- sudo rm /mnt/512MB.swap
- delete its from /etc/fstab

but every time I reboot NanoPi, this swap file will keep reappearing again.

Anyway to permanently disable a swap file?
"add_swap" service will check and create swap file every time when bootup. After disable swap file, disable "add_swap" service and swap file will not appear anymore.

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 1 guest