]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
filesystem-functions.pl: Add global declaration where the snapshots
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 3 Jul 2025 16:01:01 +0000 (18:01 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 3 Jul 2025 16:01:01 +0000 (18:01 +0200)
directory lives

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/filesystem-functions.pl

index f747cc28987f52badb70ed58d0e907d3abbd1f4a..afe7b8d3d6ca69fed29d8de5086c89f7f928f60a 100644 (file)
@@ -37,6 +37,9 @@ my $uuid_dir = "/dev/disk/by-uuid";
 # Location where the btrfsctrl binary lives.
 my $btrfsctrl = "/usr/local/bin/btrfsctrl";
 
+# Directory where BTRFS snapshots will be stored.
+our $btrfs_snapshot_dir = "/.snapshots/";
+
 #
 ## Function which returns a lot of details about the known devices
 ## as a hash of hashes.