We don't use HDIO_GETGEO since
e5b5a349.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
assert(cxt->label);
assert(fdisk_is_label(cxt, SGI));
-#ifdef HDIO_GETGEO
if (cxt->geom.heads && cxt->geom.sectors) {
fdisk_sector_t llsectors;
"> 33.8 GB."), cxt->dev_path, cxt->geom.cylinders);
}
}
-#endif
+
rc = fdisk_init_firstsector_buffer(cxt, 0, 0);
if (rc)
return rc;
sunlabel->vtoc.sanity = cpu_to_be32(SUN_VTOC_SANITY);
sunlabel->vtoc.nparts = cpu_to_be16(SUN_MAXPARTITIONS);
-#ifdef HDIO_GETGEO
if (cxt->geom.heads && cxt->geom.sectors) {
fdisk_sector_t llsectors;
cxt->dev_path, cxt->geom.cylinders);
}
} else
-#endif
ask_geom(cxt);
sunlabel->acyl = cpu_to_be16(0);