ckgeom
if (ckgeom(fname, lp->d_ntracks, "drive heads") == -1)
static int ckgeom(const char *, u_int, const char *);
if (ckgeom(fname, lp->d_secsize, "bytes/sector") == -1)
if (ckgeom(fname, lp->d_nsectors, "sectors/track") == -1)