• Home
  • Raw
  • Download

Lines Matching refs:cout

220       cout << "\nProblem: The CRC for the main GPT header is invalid. The main GPT header may\n"  in Verify()
227 cout << "\nProblem: The CRC for the main partition table is invalid. This table may be\n" in Verify()
234 cout << "\nProblem: The CRC for the backup GPT header is invalid. The backup GPT header\n" in Verify()
241 cout << "\nCaution: The CRC for the backup partition table is invalid. This table may\n" in Verify()
249 cout << "\nProblem: The main header's self-pointer doesn't point to itself. This problem\n" in Verify()
256 cout << "\nProblem: The secondary header's self-pointer indicates that it doesn't reside\n" in Verify()
265 cout << "\nProblem: main GPT header's current LBA pointer (" << mainHeader.currentLBA in Verify()
271 cout << "\nProblem: main GPT header's backup LBA pointer (" << mainHeader.backupLBA in Verify()
278 cout << "\nProblem: main GPT header's first usable LBA pointer (" << mainHeader.firstUsableLBA in Verify()
284 cout << "\nProblem: main GPT header's last usable LBA pointer (" << mainHeader.lastUsableLBA in Verify()
291 cout << "\nProblem: main header's disk GUID (" << mainHeader.diskGUID in Verify()
299 cout << "\nProblem: main GPT header's number of partitions (" << mainHeader.numParts in Verify()
306 cout << "\nProblem: main GPT header's size of partition entries (" in Verify()
318 cout << "\nProblem: Disk is too small to hold all the data!\n" in Verify()
327 cout << "\nProblem: Main partition table extends past the first usable LBA.\n" in Verify()
332 cout << "\nProblem: Main partition table appears impossibly early on the disk.\n" in Verify()
337 cout << "\nProblem: The backup partition table overlaps the backup header.\n" in Verify()
341 cout << "\nWarning: There is a gap between the main metadata (sector 1) and the main\n" in Verify()
348 cout << "\nWarning: There is a gap between the main partition table (ending sector " in Verify()
356cout << "\nWarning: The size of the partition table (" << mainHeader.sizeOfPartitionEntries * main… in Verify()
365 cout << "\nProblem: GPT claims the disk is larger than it is! (Claimed last usable\n" in Verify()
385 cout << "\nWarning: The 0xEE protective partition in the MBR is marked as active. This is\n" in Verify()
396 cout << "\nPartition(s) in the protective MBR are too big for the disk! Creating a\n" in Verify()
410 cout << "\nCaution: Partition " << i + 1 << " doesn't begin on a " in Verify()
417 cout << "\nConsult http://www.ibm.com/developerworks/linux/library/l-4kb-sector-disks/\n" in Verify()
424 cout << "\nNo problems found. " << totalFree << " free sectors (" in Verify()
430 cout << "\nIdentified " << problems << " problems!\n"; in Verify()
463 cout << "Warning! Main partition table overlaps the first partition by " in CheckGPTSize()
466 cout << "Try reducing the partition table size by " << overlap * 4 in CheckGPTSize()
469 cout << "You will need to delete this partition or resize it in another utility.\n"; in CheckGPTSize()
475 cout << "\nWarning! Secondary partition table overlaps the last partition by\n" in CheckGPTSize()
478 cout << "You will need to delete this partition or resize it in another utility.\n"; in CheckGPTSize()
480 cout << "Try reducing the partition table size by " << overlap * 4 in CheckGPTSize()
496 cout.setf(ios::uppercase); in CheckHeaderValidity()
497 cout.fill('0'); in CheckHeaderValidity()
505 cout << "Unsupported GPT version in main header; read 0x"; in CheckHeaderValidity()
506 cout.width(8); in CheckHeaderValidity()
507 cout << hex << mainHeader.revision << ", should be\n0x"; in CheckHeaderValidity()
508 cout.width(8); in CheckHeaderValidity()
509 cout << UINT32_C(0x00010000) << dec << "\n"; in CheckHeaderValidity()
516 cout << "Unsupported GPT version in backup header; read 0x"; in CheckHeaderValidity()
517 cout.width(8); in CheckHeaderValidity()
518 cout << hex << secondHeader.revision << ", should be\n0x"; in CheckHeaderValidity()
519 cout.width(8); in CheckHeaderValidity()
520 cout << UINT32_C(0x00010000) << dec << "\n"; in CheckHeaderValidity()
528 cout.fill(' '); in CheckHeaderValidity()
558cout << "\aCaution! Header size for CRC check is " << hSize << ", which is greater than " << sizeo… in CheckHeaderCRC()
559 cout << "If stray data exists after the header on the header sector, it will be ignored,\n" in CheckHeaderCRC()
695 cout << "\nWarning! Mismatched GPT and MBR partition! MBR partition " in FindHybridMismatches()
697 cout.fill('0'); in FindHybridMismatches()
698 cout.setf(ios::uppercase); in FindHybridMismatches()
699 cout.width(2); in FindHybridMismatches()
700 cout << hex << (int) protectiveMBR.GetType(i) << ",\n" in FindHybridMismatches()
703 cout.fill(' '); in FindHybridMismatches()
722 cout << "\nProblem: partitions " << i + 1 << " and " << j + 1 << " overlap:\n"; in FindOverlaps()
723 cout << " Partition " << i + 1 << ": " << partitions[i].GetFirstLBA() in FindOverlaps()
725 cout << " Partition " << j + 1 << ": " << partitions[j].GetFirstLBA() in FindOverlaps()
746 cout << "\nProblem: partition " << i + 1 << " ends before it begins.\n"; in FindInsanePartitions()
750 cout << "\nProblem: partition " << i + 1 << " is too big for the disk.\n"; in FindInsanePartitions()
812 cout << "Partition table scan:\n"; in PartitionScan()
817 cout << "\n"; in PartitionScan()
821 cout << "\n*******************************************************************\n" in PartitionScan()
824 cout << "It will be destroyed if you continue!\n"; in PartitionScan()
826 cout << "*******************************************************************\n\n\a"; in PartitionScan()
839 cout << "\aNOTE: Write test failed with error number " << errno in LoadPartitions()
842 cout << "You may be able to enable writes by exiting this program, typing\n" in LoadPartitions()
847 cout << "You may need to deactivate System Integrity Protection to use this program. See\n" in LoadPartitions()
851 cout << "\n"; in LoadPartitions()
913 cout << "Warning! Disk size is smaller than the main header indicates! Loading\n" in ForceLoadGPTData()
1090 cout << "Caution! After loading partitions, the CRC doesn't check out!\n"; in LoadPartitionTable()
1157 cout << "The justLooking flag is set. This probably means you can't write to the disk.\n"; in SaveGPTData()
1178 cout << "Warning! Secondary header is placed too early on the disk! Do you want to\n" in SaveGPTData()
1182 cout << "Have moved second header and partition table to correct location.\n"; in SaveGPTData()
1184 cout << "Have not corrected the problem. Strange problems may occur in the future!\n"; in SaveGPTData()
1193 cout << "Warning! The claimed last usable sector is incorrect! Do you want to correct\n" in SaveGPTData()
1197 cout << "Have adjusted the second header and last usable sector value.\n"; in SaveGPTData()
1199 cout << "Have not corrected the problem. Strange problems may occur in the future!\n"; in SaveGPTData()
1225 cout << "\nFinal checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING\n" in SaveGPTData()
1229 cout << "OK; writing new GUID partition table (GPT) to " << myDisk.GetName() << ".\n"; in SaveGPTData()
1270 cout << "The operation has completed successfully.\n"; in SaveGPTData()
1283 cout << "Aborting write of new partition table.\n"; in SaveGPTData()
1322 cout << "The operation has completed successfully.\n"; in SaveGPTBackup()
1417 cout << "Warning! Current disk size doesn't match that of the backup!\n" in LoadGPTBackup()
1500 cout << "GPT data structures destroyed! You may now partition the disk using fdisk or\n" in DestroyGPT()
1527 cout << " APM: present\n"; in ShowAPMState()
1529 cout << " APM: not present\n"; in ShowAPMState()
1536 cout << " GPT: not present\n"; in ShowGPTState()
1539 cout << " GPT: present\n"; in ShowGPTState()
1542 cout << " GPT: damaged\n"; in ShowGPTState()
1545 cout << "\a GPT: unknown -- bug!\n"; in ShowGPTState()
1555 cout << "Disk " << device << ": " << diskSize << " sectors, " in DisplayGPTData()
1558 cout << "Model: " << myDisk.GetModel() << "\n"; in DisplayGPTData()
1560 cout << "Sector size (logical/physical): " << blockSize << "/" << physBlockSize << " bytes\n"; in DisplayGPTData()
1562 cout << "Sector size (logical): " << blockSize << " bytes\n"; in DisplayGPTData()
1563 cout << "Disk identifier (GUID): " << mainHeader.diskGUID << "\n"; in DisplayGPTData()
1564 cout << "Partition table holds up to " << numParts << " entries\n"; in DisplayGPTData()
1565 cout << "Main partition table begins at sector " << mainHeader.partitionEntriesLBA in DisplayGPTData()
1567 cout << "First usable sector is " << mainHeader.firstUsableLBA in DisplayGPTData()
1570 cout << "Partitions will be aligned on " << sectorAlignment << "-sector boundaries\n"; in DisplayGPTData()
1571 cout << "Total free space is " << totalFree << " sectors (" in DisplayGPTData()
1573 cout << "\nNumber Start (sector) End (sector) Size Code Name\n"; in DisplayGPTData()
1584 cout << "Partition #" << partNum + 1 << " does not exist.\n"; in ShowPartDetails()
1607 cout << "\n***************************************************************\n" in UseWhichPartitions()
1611 cout << "\aTHIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by\n" in UseWhichPartitions()
1615 cout << "\n***************************************************************\n\n"; in UseWhichPartitions()
1620 cout << "\n**********************************************************************\n" in UseWhichPartitions()
1624 cout << "\a THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Your first\n" in UseWhichPartitions()
1628 cout << "\n**********************************************************************\n\n"; in UseWhichPartitions()
1635 cout << "Found valid GPT with protective MBR; using GPT.\n"; in UseWhichPartitions()
1640 cout << "Found valid GPT with hybrid MBR; using GPT.\n"; in UseWhichPartitions()
1643 cout << "\aFound valid GPT with corrupt MBR; using GPT and will write new\n" in UseWhichPartitions()
1653cout << "\a\a****************************************************************************\n" in UseWhichPartitions()
1664 cout << "Creating new GPT entries in memory.\n"; in UseWhichPartitions()
1710 cout << "No partitions!\n"; in XFormDisklabel()
1714 cout << "Specified partition is invalid!\n"; in XFormDisklabel()
1724 cout << "Converted 1 BSD partition.\n"; in XFormDisklabel()
1726 cout << "Converted " << numDone << " BSD partitions.\n"; in XFormDisklabel()
1728 cout << "Unable to convert partitions! Unrecognized BSD disklabel.\n"; in XFormDisklabel()
1770 cout << "MBR partition " << mbrPart + 1 << " is out of range; omitting it.\n"; in OnePartToMBR()
1774 cout << "GPT partition " << gptPart + 1 << " is out of range; omitting it.\n"; in OnePartToMBR()
1778 cout << "GPT partition " << gptPart + 1 << " is undefined; omitting it.\n"; in OnePartToMBR()
1784 cout << "Caution: Partition end point past 32-bit pointer boundary;" in OnePartToMBR()
1792 cout << "Partition " << gptPart + 1 << " begins beyond the 32-bit pointer limit of MBR " in OnePartToMBR()
1821 cout << "Adjusting GPT size from " << numEntries << " to "; in SetGPTSize()
1823 cout << numEntries << " to fill the sector\n"; in SetGPTSize()
1837 cout << "The highest-numbered partition is " << high + 1 in SetGPTSize()
1931 cout << "Information: Moved requested sector from " << origSector << " to " in CreatePartition()
2423 cout << "Warning: Setting alignment to a value that does not match the disk's\n" in SetAlignment()