EBRSIZE
if (pp->sectorsize < EBRSIZE)
if (pp->sectorsize < EBRSIZE || pp->mediasize < pp->sectorsize)
u_char lba0_ebr[EBRSIZE];
u_char ebr[EBRSIZE];