now that the disklabel code will reduce MAXDISKSIZE to the real size if a Sun
label is found.
-/* $OpenBSD: xd.c,v 1.70 2015/01/15 21:17:54 miod Exp $ */
+/* $OpenBSD: xd.c,v 1.71 2015/01/16 20:18:24 miod Exp $ */
/* $NetBSD: xd.c,v 1.37 1997/07/29 09:58:16 fair Exp $ */
/*
if (xd->state == XD_DRIVE_ATTACHING || xd->state == XD_DRIVE_NOLABEL) {
/* needs to be nonzero */
lp->d_secpercyl = 1;
- /* prevent initdisklabel() from putting MAXDISKSIZE */
- DL_SETDSIZE(lp, 1ULL);
} else {
/*
* Disk geometry is known from a previously found label.
-/* $OpenBSD: xy.c,v 1.67 2015/01/15 21:17:54 miod Exp $ */
+/* $OpenBSD: xy.c,v 1.68 2015/01/16 20:18:24 miod Exp $ */
/* $NetBSD: xy.c,v 1.26 1997/07/19 21:43:56 pk Exp $ */
/*
if (xy->state == XY_DRIVE_ATTACHING || xy->state == XY_DRIVE_NOLABEL) {
/* needs to be nonzero */
lp->d_secpercyl = 1;
- /* prevent initdisklabel() from putting MAXDISKSIZE */
- DL_SETDSIZE(lp, 1ULL);
} else {
/*
* Disk geometry is known for a previously found label.