Lines Matching refs:cout
223 cout << "\nProblem: The CRC for the main GPT header is invalid. The main GPT header may\n"
230 cout << "\nProblem: The CRC for the main partition table is invalid. This table may be\n"
237 cout << "\nProblem: The CRC for the backup GPT header is invalid. The backup GPT header\n"
244 cout << "\nCaution: The CRC for the backup partition table is invalid. This table may\n"
252 cout << "\nProblem: The main header's self-pointer doesn't point to itself. This problem\n"
259 cout << "\nProblem: The secondary header's self-pointer indicates that it doesn't reside\n"
268 cout << "\nProblem: main GPT header's current LBA pointer (" << mainHeader.currentLBA
274 cout << "\nProblem: main GPT header's backup LBA pointer (" << mainHeader.backupLBA
281 cout << "\nProblem: main GPT header's first usable LBA pointer (" << mainHeader.firstUsableLBA
287 cout << "\nProblem: main GPT header's last usable LBA pointer (" << mainHeader.lastUsableLBA
294 cout << "\nProblem: main header's disk GUID (" << mainHeader.diskGUID
302 cout << "\nProblem: main GPT header's number of partitions (" << mainHeader.numParts
309 cout << "\nProblem: main GPT header's size of partition entries ("
321 cout << "\nProblem: Disk is too small to hold all the data!\n"
330 cout << "\nProblem: Main partition table extends past the first usable LBA.\n"
335 cout << "\nProblem: Main partition table appears impossibly early on the disk.\n"
340 cout << "\nProblem: The backup partition table overlaps the backup header.\n"
344 cout << "\nWarning: There is a gap between the main metadata (sector 1) and the main\n"
351 cout << "\nWarning: There is a gap between the secondary partition table (ending at sector\n"
358 cout << "\nWarning: There is a gap between the main partition table (ending sector "
366 cout << "\nWarning: The size of the partition table (" << mainHeader.sizeOfPartitionEntries * mainHeader.numParts
375 cout << "\nProblem: GPT claims the disk is larger than it is! (Claimed last usable\n"
395 cout << "\nWarning: The 0xEE protective partition in the MBR is marked as active. This is\n"
406 cout << "\nPartition(s) in the protective MBR are too big for the disk! Creating a\n"
420 cout << "\nCaution: Partition " << i + 1 << " doesn't begin on a "
426 cout << "\nCaution: Partition " << i + 1 << " doesn't end on a "
432 cout << "\nConsult http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/\n"
439 cout << "\nNo problems found. " << totalFree << " free sectors ("
445 cout << "\nIdentified " << problems << " problems!\n";
478 cout << "Warning! Main partition table overlaps the first partition by "
481 cout << "Try reducing the partition table size by " << overlap * 4
484 cout << "You will need to delete this partition or resize it in another utility.\n";
490 cout << "\nWarning! Secondary partition table overlaps the last partition by\n"
493 cout << "You will need to delete this partition or resize it in another utility.\n";
495 cout << "Try reducing the partition table size by " << overlap * 4
511 cout.setf(ios::uppercase);
512 cout.fill('0');
520 cout << "Unsupported GPT version in main header; read 0x";
521 cout.width(8);
522 cout << hex << mainHeader.revision << ", should be\n0x";
523 cout.width(8);
524 cout << UINT32_C(0x00010000) << dec << "\n";
531 cout << "Unsupported GPT version in backup header; read 0x";
532 cout.width(8);
533 cout << hex << secondHeader.revision << ", should be\n0x";
534 cout.width(8);
535 cout << UINT32_C(0x00010000) << dec << "\n";
543 cout.fill(' ');
573 cout << "\aCaution! Header size for CRC check is " << hSize << ", which is greater than " << sizeof(GPTHeader) << ".\n";
574 cout << "If stray data exists after the header on the header sector, it will be ignored,\n"
710 cout << "\nWarning! Mismatched GPT and MBR partition! MBR partition "
712 cout.fill('0');
713 cout.setf(ios::uppercase);
714 cout.width(2);
715 cout << hex << (int) protectiveMBR.GetType(i) << ",\n"
718 cout.fill(' ');
737 cout << "\nProblem: partitions " << i + 1 << " and " << j + 1 << " overlap:\n";
738 cout << " Partition " << i + 1 << ": " << partitions[i].GetFirstLBA()
740 cout << " Partition " << j + 1 << ": " << partitions[j].GetFirstLBA()
761 cout << "\nProblem: partition " << i + 1 << " ends before it begins.\n";
765 cout << "\nProblem: partition " << i + 1 << " is too big for the disk.\n";
822 cout << "Partition table scan:\n";
827 cout << "\n";
831 cout << "\n*******************************************************************\n"
834 cout << "It will be destroyed if you continue!\n";
836 cout << "*******************************************************************\n\n\a";
850 cout << "\aNOTE: Write test failed with error number " << errno
853 cout << "You may be able to enable writes by exiting this program, typing\n"
858 cout << "You may need to deactivate System Integrity Protection to use this program. See\n"
862 cout << "\n";
909 cout << "Disk is too small to hold GPT data (" << diskSize
933 cout << "Warning! Disk size is smaller than the main header indicates! Loading\n"
1126 cout << "Caution! After loading partitions, the CRC doesn't check out!\n";
1193 cout << "The justLooking flag is set. This probably means you can't write to the disk.\n";
1214 cout << "Warning! Secondary header is placed too early on the disk! Do you want to\n"
1218 cout << "Have moved second header and partition table to correct location.\n";
1220 cout << "Have not corrected the problem. Strange problems may occur in the future!\n";
1229 cout << "Warning! The claimed last usable sector is incorrect! Do you want to correct\n"
1233 cout << "Have adjusted the second header and last usable sector value.\n";
1235 cout << "Have not corrected the problem. Strange problems may occur in the future!\n";
1261 cout << "\nFinal checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING\n"
1265 cout << "OK; writing new GUID partition table (GPT) to " << myDisk.GetName() << ".\n";
1306 cout << "The operation has completed successfully.\n";
1319 cout << "Aborting write of new partition table.\n";
1358 cout << "The operation has completed successfully.\n";
1453 cout << "Warning! Current disk size doesn't match that of the backup!\n"
1536 cout << "GPT data structures destroyed! You may now partition the disk using fdisk or\n"
1563 cout << " APM: present\n";
1565 cout << " APM: not present\n";
1572 cout << " GPT: not present\n";
1575 cout << " GPT: present\n";
1578 cout << " GPT: damaged\n";
1581 cout << "\a GPT: unknown -- bug!\n";
1591 cout << "Disk " << device << ": " << diskSize << " sectors, "
1594 cout << "Model: " << myDisk.GetModel() << "\n";
1596 cout << "Sector size (logical/physical): " << blockSize << "/" << physBlockSize << " bytes\n";
1598 cout << "Sector size (logical): " << blockSize << " bytes\n";
1599 cout << "Disk identifier (GUID): " << mainHeader.diskGUID << "\n";
1600 cout << "Partition table holds up to " << numParts << " entries\n";
1601 cout << "Main partition table begins at sector " << mainHeader.partitionEntriesLBA
1603 cout << "First usable sector is " << mainHeader.firstUsableLBA
1606 cout << "Partitions will be aligned on " << sectorAlignment << "-sector boundaries\n";
1607 cout << "Total free space is " << totalFree << " sectors ("
1609 cout << "\nNumber Start (sector) End (sector) Size Code Name\n";
1620 cout << "Partition #" << partNum + 1 << " does not exist.\n";
1643 cout << "\n***************************************************************\n"
1647 cout << "\aTHIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by\n"
1651 cout << "\n***************************************************************\n\n";
1656 cout << "\n**********************************************************************\n"
1660 cout << "\a THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Your first\n"
1664 cout << "\n**********************************************************************\n\n";
1671 cout << "Found valid GPT with protective MBR; using GPT.\n";
1676 cout << "Found valid GPT with hybrid MBR; using GPT.\n";
1679 cout << "\aFound valid GPT with corrupt MBR; using GPT and will write new\n"
1689 cout << "\a\a****************************************************************************\n"
1700 cout << "Creating new GPT entries in memory.\n";
1746 cout << "No partitions!\n";
1750 cout << "Specified partition is invalid!\n";
1760 cout << "Converted 1 BSD partition.\n";
1762 cout << "Converted " << numDone << " BSD partitions.\n";
1764 cout << "Unable to convert partitions! Unrecognized BSD disklabel.\n";
1806 cout << "MBR partition " << mbrPart + 1 << " is out of range; omitting it.\n";
1810 cout << "GPT partition " << gptPart + 1 << " is out of range; omitting it.\n";
1814 cout << "GPT partition " << gptPart + 1 << " is undefined; omitting it.\n";
1820 cout << "Caution: Partition end point past 32-bit pointer boundary;"
1828 cout << "Partition " << gptPart + 1 << " begins beyond the 32-bit pointer limit of MBR "
1857 cout << "Adjusting GPT size from " << numEntries << " to ";
1859 cout << numEntries << " to fill the sector\n";
1873 cout << "The highest-numbered partition is " << high + 1
1984 cout << "Information: Moved requested sector from " << origSector << " to "
2501 cout << "Warning: Setting alignment to a value that does not match the disk's\n"