Searched refs:geom (Results 1 – 1 of 1) sorted by relevance
801 struct hd_geometry geom; in getdiskinfo() local823 if (ioctl(fd, HDIO_GETGEO, &geom)) { in getdiskinfo()825 geom.heads = 64; in getdiskinfo()826 geom.sectors = 63; in getdiskinfo()829 if (!geom.heads) { in getdiskinfo()831 geom.heads = 64; in getdiskinfo()834 if (!geom.sectors) { in getdiskinfo()836 geom.sectors = 63; in getdiskinfo()839 bpb->spt = geom.sectors; in getdiskinfo()842 bpb->hds = geom.heads; in getdiskinfo()