detect_special_partitions