diff --git a/src/add-ons/kernel/partitioning_systems/intel/intel.cpp b/src/add-ons/kernel/partitioning_systems/intel/intel.cpp index 3628ca41a6..6c2d33e935 100644 --- a/src/add-ons/kernel/partitioning_systems/intel/intel.cpp +++ b/src/add-ons/kernel/partitioning_systems/intel/intel.cpp @@ -164,9 +164,12 @@ pm_identify_partition(int fd, partition_data *partition, void **cookie) if (hasChildren) return 0.4; - // No children. Extremely unlikely, that this is a desired. But if no one - // else claims the partition, we take it anyway. - return 0.1; + // No children but a parent. Extremely unlikely that this is desired. + // Just indicate that we don't support this partition, it's probably a + // filesystem and not a partition at all. + *cookie = NULL; + delete map; + return -1; } // pm_scan_partition