From: Stefan Schantl Date: Thu, 3 Jul 2025 16:01:01 +0000 (+0200) Subject: filesystem-functions.pl: Add global declaration where the snapshots X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f00f8a7b84d4fcfc50bc449dd6b4d2d1385c2543;p=people%2Fstevee%2Fipfire-2.x.git filesystem-functions.pl: Add global declaration where the snapshots directory lives Signed-off-by: Stefan Schantl --- diff --git a/config/cfgroot/filesystem-functions.pl b/config/cfgroot/filesystem-functions.pl index f747cc289..afe7b8d3d 100644 --- a/config/cfgroot/filesystem-functions.pl +++ b/config/cfgroot/filesystem-functions.pl @@ -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.