update_units() is called in _probe_labels before the label probes are
started, so we don't need to call it again in probers, unless it messes
around with geometry, which currently only check_sun_label() does (so
keep the call to update_units() in this one).
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
return 0;
}
other_endian = (aixlabel->magic == AIX_LABEL_MAGIC_SWAPPED);
- update_units(cxt);
disklabel = AIX_LABEL;
partitions= 1016;
volumes = 15;
IS_MAC:
other_endian = (maclabel->magic == MAC_LABEL_MAGIC_SWAPPED); // =?
- update_units(cxt);
disklabel = MAC_LABEL;
partitions= 1016; // =?
volumes = 15; // =?
fprintf(stderr,
_("Detected sgi disklabel with wrong checksum.\n"));
}
- update_units(cxt);
disklabel = SGI_LABEL;
partitions= 16;
volumes = 15;