Searched refs:hdg (Results 1 – 2 of 2) sorted by relevance
154 struct hd_geometry hdg; in get_drive_geometry() local157 if (ioctl (fd, HDIO_GETGEO, &hdg)) in get_drive_geometry()164 geom->cylinders = hdg.cylinders; in get_drive_geometry()165 geom->heads = hdg.heads; in get_drive_geometry()166 geom->sectors = hdg.sectors; in get_drive_geometry()213 struct disklabel hdg; in get_drive_geometry() local214 if (ioctl (fd, DIOCGDINFO, &hdg)) in get_drive_geometry()217 geom->cylinders = hdg.d_ncylinders; in get_drive_geometry()218 geom->heads = hdg.d_ntracks; in get_drive_geometry()219 geom->sectors = hdg.d_nsectors; in get_drive_geometry()[all …]
46 #/dev/hdg b 640 0 0 34 0 0 0 -47 #/dev/hdg b 640 0 0 34 1 1 1 15