SCCS-vsn: sys/hp300/dev/rd.c 8.2
SCCS-vsn: sys/hp300/dev/sd.c 8.5
*
* from: Utah $Hdr: rd.c 1.44 92/12/26$
*
*
* from: Utah $Hdr: rd.c 1.44 92/12/26$
*
- * @(#)rd.c 8.1 (Berkeley) %G%
+ * @(#)rd.c 8.2 (Berkeley) %G%
#else
printf("defining `c' partition as entire disk\n");
pi[2].p_size = rdidentinfo[rs->sc_type].ri_nblocks;
#else
printf("defining `c' partition as entire disk\n");
pi[2].p_size = rdidentinfo[rs->sc_type].ri_nblocks;
+ /* XXX reset other info since readdisklabel screws with it */
+ lp->d_npartitions = 3;
+ pi[0].p_size = 0;
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)sd.c 8.4 (Berkeley) %G%
+ * @(#)sd.c 8.5 (Berkeley) %G%
#endif
printf("defining `c' partition as entire disk\n");
pi[2].p_size = sc->sc_blks;
#endif
printf("defining `c' partition as entire disk\n");
pi[2].p_size = sc->sc_blks;
+ /* XXX reset other info since readdisklabel screws with it */
+ lp->d_npartitions = 3;
+ pi[0].p_size = 0;