From f897addc3cb960454204052b3051891ca9f15338 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Thu, 30 Oct 2025 23:48:48 -0400 Subject: [PATCH] fix(filesystem-device-match): has-partition-type-uuid should fetch the partition type guid --- src/extractors/filesystem_device_match.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extractors/filesystem_device_match.rs b/src/extractors/filesystem_device_match.rs index 5bfb0be..0fc1577 100644 --- a/src/extractors/filesystem_device_match.rs +++ b/src/extractors/filesystem_device_match.rs @@ -98,9 +98,9 @@ pub fn extract( .deref() .to_boxed(); - // Fetch the partition uuid for this filesystem. + // Fetch the partition type uuid for this filesystem. let partition_type_uuid = - utils::partition_guid(&root, utils::PartitionGuidForm::Partition) + utils::partition_guid(&root, utils::PartitionGuidForm::PartitionType) .context("unable to fetch the partition uuid of the filesystem")?; // Compare the partition type uuid to the parsed uuid. // If it does not match, continue to the next filesystem.