summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchsetup6
1 files changed, 6 insertions, 0 deletions
diff --git a/archsetup b/archsetup
index a2aaa2d..09ca9f2 100755
--- a/archsetup
+++ b/archsetup
@@ -1289,6 +1289,12 @@ EOF
display "task" "snapper root config already exists"
fi
+ # Ensure /.snapshots is mounted (archangel may have created @snapshots in fstab)
+ if ! mountpoint -q /.snapshots 2>/dev/null; then
+ mkdir -p /.snapshots
+ mount /.snapshots >> "$logfile" 2>&1 || true
+ fi
+
action="configuring snapper retention policy" && display "task" "$action"
# Conservative retention - local snapshots for quick rollback
snapper -c root set-config "TIMELINE_CREATE=yes" >> "$logfile" 2>&1