part.ed (611B)
1 g/pp->name/d 2 ,s;sdbio(unit, part, a, unit->secsize, off);unit->dev->ifc->bio(unit, 0, 0, a, 1, (off/unit->secsize) + part->start); 3 ,s;sdbio(unit, &unit->part\[0\], buf, 2048, 17\*2048);unit->dev->ifc->bio(unit, 0, 0, buf, 2048/unit->secsize, (a*2048)/unit->secsize); 4 ,s;sdbio(unit, &unit->part\[0\], buf, 2048, a\*2048);unit->dev->ifc->bio(unit, 0, 0, buf, 2048/unit->secsize, (a*2048)/unit->secsize); 5 ,s;unit->name;unit->dev->name;g 6 ,s;getfields(\(.*\), '\(.*\)');getfields(\1, 0, "\2");g 7 /^p9part/ s/$// 8 /unit->npart < SDnpart/ s;&& unit->npart < SDnpart;/* & */; 9 /p = getconf("partition")/;+2c 10 p = "new"; 11 .