From a9e6b6dfb44f5d889952c3f958d49b858a9bdc65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Mon, 5 May 2025 11:48:21 +0200 Subject: [PATCH] Add noswap to noita-helper mount opts --- home/scripts/noita-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/scripts/noita-helper.sh b/home/scripts/noita-helper.sh index e1b604d..a6e31fc 100644 --- a/home/scripts/noita-helper.sh +++ b/home/scripts/noita-helper.sh @@ -11,7 +11,7 @@ restic backup -q "$SAVE_DIR" echo "Backup done" echo "Mounting tmpfs for save folder..." -sudo mount -o size=2G -t tmpfs none "$SAVE_DIR" +sudo mount -o size=2G,noswap -t tmpfs none "$SAVE_DIR" echo "Restoring initial backup..." restic restore "latest:$SAVE_DIR" --target "$SAVE_DIR"