From bbbc8f7440ed9e6be82da2b8e0465359723b67bf Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Sat, 28 Mar 2026 20:00:47 -0600 Subject: [PATCH] fix: correct BIOS boot partition type GUID for backup target filtering The BIOS_BOOT_TYPE_GUID constant had the wrong value, so find_bios_boot_partition never matched the actual BIOS boot partition created by the gpt crate. This caused it to appear as an available backup target. --- core/src/disk/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/disk/mod.rs b/core/src/disk/mod.rs index ed312aede..229ba508c 100644 --- a/core/src/disk/mod.rs +++ b/core/src/disk/mod.rs @@ -103,7 +103,7 @@ impl OsPartitionInfo { } } -const BIOS_BOOT_TYPE_GUID: &str = "21686148-6449-6e6f-744e-656564726548"; +const BIOS_BOOT_TYPE_GUID: &str = "21686148-6449-6E6F-744E-656564454649"; /// Find the BIOS boot partition on the same disk as `known_part`. async fn find_bios_boot_partition(known_part: &Path) -> Result, Error> {