systemd-swap
systemd-swap copied to clipboard
How to make swapfc file persistent?
I wonder why always recreating "/var/lib/systemd-swap/swapfc/1" every time when systemd-swap service is restarted.
"State machine", i.e. service must return to same state, as state where it started.
I think this behaviour is good for swap file on SSD as we don't use the same location over and over again which can cause wearing.
+1 to implement an option to make swap persistent (even after rebooting). I love systemd-swap because it guarantees I won't run out of swap no matter what. But when your hard disk is encrypted there's no point on re-creating it every time. It slows down shutdown in 1:30 minutes.