Signed-off-by: Karel Zak <kzak@redhat.com>
end_follow_default : 1, /* use default end */
freespace : 1, /* this is free space */
container : 1, /* container partition (e.g. extended partition) */
+ wholedisk : 1, /* special system partition */
used : 1; /* partition already used */
};
/* analyze gaps between partitions */
while (rc == 0 && fdisk_table_next_partition(parts, &itr, &pa) == 0) {
- if (!pa->used || fdisk_partition_is_nested(pa))
+ if (!pa->used || pa->wholedisk || fdisk_partition_is_nested(pa))
continue;
DBG(LABEL, dbgprint("freespace analyze: partno=%zu, start=%ju, end=%ju",
pa->partno, pa->start, pa->end));