Lines Matching refs:disklabel
699 // protective MBR) and loads BSD disklabel data (which is probably invalid).
705 // Read the MBR & check for BSD disklabel
1469 * Partition table transformation functions (MBR or BSD disklabel to GPT) *
1475 // MBR (use_mbr), the GPT (use_gpt), the BSD disklabel (use_bsd), or create
1500 << "Found invalid GPT and valid BSD disklabel; converting BSD disklabel\n"
1579 // Transforms BSD disklabel on the specified partition (numbered from 0).
1585 BSDData disklabel;
1596 // If all is OK, read the disklabel and convert it.
1598 goOn = disklabel.ReadBSDData(&myDisk, partitions[partNum].GetFirstLBA(),
1600 if ((goOn) && (disklabel.IsDisklabel())) {
1601 numDone = XFormDisklabel(&disklabel);
1607 cout << "Unable to convert partitions! Unrecognized BSD disklabel.\n";
1616 // Transform the partitions on an already-loaded BSD disklabel...
1617 int GPTData::XFormDisklabel(BSDData* disklabel) {
1620 if (disklabel->IsDisklabel()) {
1621 for (i = 0; i < disklabel->GetNumParts(); i++) {
1624 partitions[partNum] = disklabel->AsGPT(i);
1638 } // GPTData::XFormDisklabel(BSDData* disklabel)