Lines Matching refs:cout
222 cout << "\nProblem: The CRC for the main GPT header is invalid. The main GPT header may\n" in Verify()
229 cout << "\nProblem: The CRC for the main partition table is invalid. This table may be\n" in Verify()
236 cout << "\nProblem: The CRC for the backup GPT header is invalid. The backup GPT header\n" in Verify()
243 cout << "\nCaution: The CRC for the backup partition table is invalid. This table may\n" in Verify()
251 cout << "\nProblem: The main header's self-pointer doesn't point to itself. This problem\n" in Verify()
258 cout << "\nProblem: The secondary header's self-pointer indicates that it doesn't reside\n" in Verify()
267 cout << "\nProblem: main GPT header's current LBA pointer (" << mainHeader.currentLBA in Verify()
273 cout << "\nProblem: main GPT header's backup LBA pointer (" << mainHeader.backupLBA in Verify()
280 cout << "\nProblem: main GPT header's first usable LBA pointer (" << mainHeader.firstUsableLBA in Verify()
286 cout << "\nProblem: main GPT header's last usable LBA pointer (" << mainHeader.lastUsableLBA in Verify()
293 cout << "\nProblem: main header's disk GUID (" << mainHeader.diskGUID in Verify()
301 cout << "\nProblem: main GPT header's number of partitions (" << mainHeader.numParts in Verify()
308 cout << "\nProblem: main GPT header's size of partition entries (" in Verify()
320 cout << "\nProblem: Disk is too small to hold all the data!\n" in Verify()
329 cout << "\nProblem: Main partition table extends past the first usable LBA.\n" in Verify()
334 cout << "\nProblem: Main partition table appears impossibly early on the disk.\n" in Verify()
339 cout << "\nProblem: The backup partition table overlaps the backup header.\n" in Verify()
343 cout << "\nWarning: There is a gap between the main metadata (sector 1) and the main\n" in Verify()
350 cout << "\nWarning: There is a gap between the main partition table (ending sector " in Verify()
358 …cout << "\nWarning: The size of the partition table (" << mainHeader.sizeOfPartitionEntries * main… in Verify()
367 cout << "\nProblem: GPT claims the disk is larger than it is! (Claimed last usable\n" in Verify()
387 cout << "\nWarning: The 0xEE protective partition in the MBR is marked as active. This is\n" in Verify()
398 cout << "\nPartition(s) in the protective MBR are too big for the disk! Creating a\n" in Verify()
412 cout << "\nCaution: Partition " << i + 1 << " doesn't begin on a " in Verify()
418 cout << "\nCaution: Partition " << i + 1 << " doesn't end on a " in Verify()
424 cout << "\nConsult http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/\n" in Verify()
431 cout << "\nNo problems found. " << totalFree << " free sectors (" in Verify()
437 cout << "\nIdentified " << problems << " problems!\n"; in Verify()
470 cout << "Warning! Main partition table overlaps the first partition by " in CheckGPTSize()
473 cout << "Try reducing the partition table size by " << overlap * 4 in CheckGPTSize()
476 cout << "You will need to delete this partition or resize it in another utility.\n"; in CheckGPTSize()
482 cout << "\nWarning! Secondary partition table overlaps the last partition by\n" in CheckGPTSize()
485 cout << "You will need to delete this partition or resize it in another utility.\n"; in CheckGPTSize()
487 cout << "Try reducing the partition table size by " << overlap * 4 in CheckGPTSize()
503 cout.setf(ios::uppercase); in CheckHeaderValidity()
504 cout.fill('0'); in CheckHeaderValidity()
512 cout << "Unsupported GPT version in main header; read 0x"; in CheckHeaderValidity()
513 cout.width(8); in CheckHeaderValidity()
514 cout << hex << mainHeader.revision << ", should be\n0x"; in CheckHeaderValidity()
515 cout.width(8); in CheckHeaderValidity()
516 cout << UINT32_C(0x00010000) << dec << "\n"; in CheckHeaderValidity()
523 cout << "Unsupported GPT version in backup header; read 0x"; in CheckHeaderValidity()
524 cout.width(8); in CheckHeaderValidity()
525 cout << hex << secondHeader.revision << ", should be\n0x"; in CheckHeaderValidity()
526 cout.width(8); in CheckHeaderValidity()
527 cout << UINT32_C(0x00010000) << dec << "\n"; in CheckHeaderValidity()
535 cout.fill(' '); in CheckHeaderValidity()
565 …cout << "\aCaution! Header size for CRC check is " << hSize << ", which is greater than " << sizeo… in CheckHeaderCRC()
566 cout << "If stray data exists after the header on the header sector, it will be ignored,\n" in CheckHeaderCRC()
702 cout << "\nWarning! Mismatched GPT and MBR partition! MBR partition " in FindHybridMismatches()
704 cout.fill('0'); in FindHybridMismatches()
705 cout.setf(ios::uppercase); in FindHybridMismatches()
706 cout.width(2); in FindHybridMismatches()
707 cout << hex << (int) protectiveMBR.GetType(i) << ",\n" in FindHybridMismatches()
710 cout.fill(' '); in FindHybridMismatches()
729 cout << "\nProblem: partitions " << i + 1 << " and " << j + 1 << " overlap:\n"; in FindOverlaps()
730 cout << " Partition " << i + 1 << ": " << partitions[i].GetFirstLBA() in FindOverlaps()
732 cout << " Partition " << j + 1 << ": " << partitions[j].GetFirstLBA() in FindOverlaps()
753 cout << "\nProblem: partition " << i + 1 << " ends before it begins.\n"; in FindInsanePartitions()
757 cout << "\nProblem: partition " << i + 1 << " is too big for the disk.\n"; in FindInsanePartitions()
814 cout << "Partition table scan:\n"; in PartitionScan()
819 cout << "\n"; in PartitionScan()
823 cout << "\n*******************************************************************\n" in PartitionScan()
826 cout << "It will be destroyed if you continue!\n"; in PartitionScan()
828 cout << "*******************************************************************\n\n\a"; in PartitionScan()
841 cout << "\aNOTE: Write test failed with error number " << errno in LoadPartitions()
844 cout << "You may be able to enable writes by exiting this program, typing\n" in LoadPartitions()
849 cout << "You may need to deactivate System Integrity Protection to use this program. See\n" in LoadPartitions()
853 cout << "\n"; in LoadPartitions()
899 cout << "Disk is too small to hold GPT data (" << diskSize in LoadPartitions()
923 cout << "Warning! Disk size is smaller than the main header indicates! Loading\n" in ForceLoadGPTData()
1116 cout << "Caution! After loading partitions, the CRC doesn't check out!\n"; in LoadPartitionTable()
1183 cout << "The justLooking flag is set. This probably means you can't write to the disk.\n"; in SaveGPTData()
1204 cout << "Warning! Secondary header is placed too early on the disk! Do you want to\n" in SaveGPTData()
1208 cout << "Have moved second header and partition table to correct location.\n"; in SaveGPTData()
1210 cout << "Have not corrected the problem. Strange problems may occur in the future!\n"; in SaveGPTData()
1219 cout << "Warning! The claimed last usable sector is incorrect! Do you want to correct\n" in SaveGPTData()
1223 cout << "Have adjusted the second header and last usable sector value.\n"; in SaveGPTData()
1225 cout << "Have not corrected the problem. Strange problems may occur in the future!\n"; in SaveGPTData()
1251 cout << "\nFinal checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING\n" in SaveGPTData()
1255 cout << "OK; writing new GUID partition table (GPT) to " << myDisk.GetName() << ".\n"; in SaveGPTData()
1296 cout << "The operation has completed successfully.\n"; in SaveGPTData()
1309 cout << "Aborting write of new partition table.\n"; in SaveGPTData()
1348 cout << "The operation has completed successfully.\n"; in SaveGPTBackup()
1443 cout << "Warning! Current disk size doesn't match that of the backup!\n" in LoadGPTBackup()
1526 cout << "GPT data structures destroyed! You may now partition the disk using fdisk or\n" in DestroyGPT()
1553 cout << " APM: present\n"; in ShowAPMState()
1555 cout << " APM: not present\n"; in ShowAPMState()
1562 cout << " GPT: not present\n"; in ShowGPTState()
1565 cout << " GPT: present\n"; in ShowGPTState()
1568 cout << " GPT: damaged\n"; in ShowGPTState()
1571 cout << "\a GPT: unknown -- bug!\n"; in ShowGPTState()
1581 cout << "Disk " << device << ": " << diskSize << " sectors, " in DisplayGPTData()
1584 cout << "Model: " << myDisk.GetModel() << "\n"; in DisplayGPTData()
1586 cout << "Sector size (logical/physical): " << blockSize << "/" << physBlockSize << " bytes\n"; in DisplayGPTData()
1588 cout << "Sector size (logical): " << blockSize << " bytes\n"; in DisplayGPTData()
1589 cout << "Disk identifier (GUID): " << mainHeader.diskGUID << "\n"; in DisplayGPTData()
1590 cout << "Partition table holds up to " << numParts << " entries\n"; in DisplayGPTData()
1591 cout << "Main partition table begins at sector " << mainHeader.partitionEntriesLBA in DisplayGPTData()
1593 cout << "First usable sector is " << mainHeader.firstUsableLBA in DisplayGPTData()
1596 cout << "Partitions will be aligned on " << sectorAlignment << "-sector boundaries\n"; in DisplayGPTData()
1597 cout << "Total free space is " << totalFree << " sectors (" in DisplayGPTData()
1599 cout << "\nNumber Start (sector) End (sector) Size Code Name\n"; in DisplayGPTData()
1610 cout << "Partition #" << partNum + 1 << " does not exist.\n"; in ShowPartDetails()
1633 cout << "\n***************************************************************\n" in UseWhichPartitions()
1637 cout << "\aTHIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by\n" in UseWhichPartitions()
1641 cout << "\n***************************************************************\n\n"; in UseWhichPartitions()
1646 cout << "\n**********************************************************************\n" in UseWhichPartitions()
1650 cout << "\a THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Your first\n" in UseWhichPartitions()
1654 cout << "\n**********************************************************************\n\n"; in UseWhichPartitions()
1661 cout << "Found valid GPT with protective MBR; using GPT.\n"; in UseWhichPartitions()
1666 cout << "Found valid GPT with hybrid MBR; using GPT.\n"; in UseWhichPartitions()
1669 cout << "\aFound valid GPT with corrupt MBR; using GPT and will write new\n" in UseWhichPartitions()
1679 … cout << "\a\a****************************************************************************\n" in UseWhichPartitions()
1690 cout << "Creating new GPT entries in memory.\n"; in UseWhichPartitions()
1736 cout << "No partitions!\n"; in XFormDisklabel()
1740 cout << "Specified partition is invalid!\n"; in XFormDisklabel()
1750 cout << "Converted 1 BSD partition.\n"; in XFormDisklabel()
1752 cout << "Converted " << numDone << " BSD partitions.\n"; in XFormDisklabel()
1754 cout << "Unable to convert partitions! Unrecognized BSD disklabel.\n"; in XFormDisklabel()
1796 cout << "MBR partition " << mbrPart + 1 << " is out of range; omitting it.\n"; in OnePartToMBR()
1800 cout << "GPT partition " << gptPart + 1 << " is out of range; omitting it.\n"; in OnePartToMBR()
1804 cout << "GPT partition " << gptPart + 1 << " is undefined; omitting it.\n"; in OnePartToMBR()
1810 cout << "Caution: Partition end point past 32-bit pointer boundary;" in OnePartToMBR()
1818 cout << "Partition " << gptPart + 1 << " begins beyond the 32-bit pointer limit of MBR " in OnePartToMBR()
1847 cout << "Adjusting GPT size from " << numEntries << " to "; in SetGPTSize()
1849 cout << numEntries << " to fill the sector\n"; in SetGPTSize()
1863 cout << "The highest-numbered partition is " << high + 1 in SetGPTSize()
1957 cout << "Information: Moved requested sector from " << origSector << " to " in CreatePartition()
2460 cout << "Warning: Setting alignment to a value that does not match the disk's\n" in SetAlignment()