cvs diff: Diffing . Index: wd.c =================================================================== RCS file: /cvsroot/src/sys/arch/cobalt/stand/boot/wd.c,v retrieving revision 1.5 diff -u -b -p -r1.5 wd.c --- wd.c 11 Dec 2005 12:17:06 -0000 1.5 +++ wd.c 5 May 2006 22:00:58 -0000 @@ -43,6 +43,7 @@ #include #include +#include /* For RF_PROTECTED_SECTORS */ #include "boot.h" #include "wdvar.h" @@ -179,6 +180,10 @@ wdgetdisklabel(wd) DPRINTF(("illegal partition\n")); return (EPART); } + if (lp->d_partitions[wd->sc_part].p_fstype == FS_RAID) { + DPRINTF(("USING RAID OFFSET\n")); + lp->d_partitions[wd->sc_part].p_offset += RF_PROTECTED_SECTORS; + } DPRINTF(("label info: d_secsize %d, d_nsectors %d, d_ncylinders %d," "d_ntracks %d, d_secpercyl %d\n",