fix(filesystem-device-match): has-partition-type-uuid should fetch the partition type guid

This commit is contained in:
2025-10-30 23:48:48 -04:00
parent 8241d6d774
commit f897addc3c

View File

@@ -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.