MBRSIZE
bcopy(table->mbr, buf, MBRSIZE);
.gps_bootcodesz = MBRSIZE,
if (pp->sectorsize < MBRSIZE ||
if (pp->sectorsize < MBRSIZE || pp->mediasize < 6 * pp->sectorsize)
u_char mbr[MBRSIZE];
bcopy(buf, table->mbr, MBRSIZE);
.gps_bootcodesz = MBRSIZE,
if (gpp->gpp_codesize != MBRSIZE)
if (pp->sectorsize < MBRSIZE)
if (pp->sectorsize < MBRSIZE || pp->mediasize < pp->sectorsize)
u_char mbr[MBRSIZE];
u_int8_t buf[MBRSIZE];
if ((n = read(fd, buf, MBRSIZE)) == -1)
if (n != MBRSIZE)