[PATCH 09/12] Handle all logical/extended partitions in unusedDevices.