From 9e29f91e7f2650807fc924439ce683f20accb232 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Fri, 29 Oct 2021 23:49:11 -0500 Subject: [PATCH] Ubuntu Raspberry Pi: Limit swapoff In this version, the swapoff is being run on the non-Pi system. I did not mean for people to disable their swap (even temporarily). Signed-off-by: Richard Laager --- .../Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst index 79e8ad6..cd27b48 100644 --- a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst +++ b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst @@ -160,7 +160,9 @@ be deleted. #. Ensure swap partitions are not in use:: - sudo swapoff --all + swapon -v + # If a partition is in use from the SD card, disable it: + sudo swapoff THAT_PARTITION #. Clear old ZFS labels::