From efc041f6a59e6a06f44198de97964af3056e9296 Mon Sep 17 00:00:00 2001 From: bobberb Date: Tue, 8 Dec 2020 09:25:24 -0500 Subject: [PATCH] Make snapshots r/o --- src/Core/Main.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Main.vala b/src/Core/Main.vala index 72093400..1cc9a546 100644 --- a/src/Core/Main.vala +++ b/src/Core/Main.vala @@ -1500,7 +1500,7 @@ public class Main : GLib.Object{ dst_path = dst_path.replace("/@home/@home", "/@home"); } - string cmd = "btrfs subvolume snapshot '%s' '%s' \n".printf(src_path, dst_path); + string cmd = "btrfs subvolume snapshot -r '%s' '%s' \n".printf(src_path, dst_path); if (LOG_COMMANDS) { log_debug(cmd); }