Lines Matching refs:cout
76 cout << "Found valid MBR and GPT. Which do you want to use?\n"; in UseWhichPartitions()
82 cout << "Using GPT and creating fresh protective MBR.\n"; in UseWhichPartitions()
90 cout << "Found valid MBR and corrupt GPT. Which do you want to use? (Using the\n" in UseWhichPartitions()
99 cout << "Found invalid MBR and corrupt GPT. What do you want to do? (Using the\n" in UseWhichPartitions()
126 cout << "Specified partition doesn't have a disklabel partition type " in XFormDisklabel()
165 cout << "Current partition table size is " << numParts << ".\n"; in ResizePartitionTable()
174 cout << "Caution: The partition table size should officially be 16KB or larger,\n" in ResizePartitionTable()
189 cout << "Currently, main partition table begins at sector " << mainHeader.partitionEntriesLBA in MoveMainTable()
196 cout << "Aborting change!\n"; in MoveMainTable()
225 cout << "partition " << partNum + 1 << " is in use.\n"; in CreatePartition()
236 cout << "Information: Moved requested sector from " << origSector << " to " in CreatePartition()
240 cout << "Use 'l' on the experts' menu to adjust alignment\n"; in CreatePartition()
259 cout << "No table partition entries left\n"; in CreatePartition()
261 cout << "No free sectors available\n"; in CreatePartition()
276 cout << "No partitions\n"; in DeletePartition()
289 cout << "No partitions\n"; in ChangePartType()
302 cout << "Enter the partition's new unique GUID ('R' to randomize): "; in ChangeUniqueGuid()
306 cout << "New GUID is " << partitions[partNum].GetUniqueGUID() << "\n"; in ChangeUniqueGuid()
308 cout << "GUID is too short!\n"; in ChangeUniqueGuid()
311 cout << "No partitions\n"; in ChangeUniqueGuid()
329 cout << "Enter name: "; in SetName()
350 cout << "Current name is: " << partitions[partNum].GetDescription() << "\n"; in ReverseName()
352 cout << "Byte-swapped name is: " << partitions[partNum].GetDescription() << "\n"; in ReverseName()
353 cout << "Do you want to byte-swap the name? "; in ReverseName()
380 cout << "No partitions\n"; in SwapPartitions()
391 cout << "WARNING: APM or BSD disklabel structures detected! This operation could\n" in DestroyGPTwPrompt()
394 cout << "\a\aAbout to wipe out GPT on " << device << ". Proceed? "; in DestroyGPTwPrompt()
402 cout << "Blank out MBR? "; in DestroyGPTwPrompt()
406 cout << "MBR is unchanged. You may need to delete an EFI GPT (0xEE) partition\n" in DestroyGPTwPrompt()
424 cout << "No partitions\n"; in ShowDetails()
439 cout << "\nWARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,\n" in MakeHybrid()
450 cout << "Type from one to three GPT partition numbers, separated by spaces, to be\n" in MakeHybrid()
461 cout << "Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? "; in MakeHybrid()
469 cout << "\nCreating entry for GPT partition #" << j + 1 in MakeHybrid()
474 cout << "Set the bootable flag? "; in MakeHybrid()
509 cout << "\nUnused partition space(s) found. Use one to protect more partitions? "; in MakeHybrid()
511 cout << "Note: Default is 0xEE, but this may confuse Mac OS X.\n"; in MakeHybrid()
520 cout << "\nNo partitions converted; original protective/hybrid MBR is unmodified!\n"; in MakeHybrid()
564 cout << prompt; in GetSectorNum()
585 …cout << "\a\nWarning! GPT partition " << partNum << " ends after the 2^32 sector mark! The partiti… in WarnAboutIffyMBRPart()
607 cout << "\nCommand (? for help): "; in MainMenu()
613 cout << "Enter backup filename to save: "; in MainMenu()
620 cout << "No partitions\n"; in MainMenu()
635 cout << "This option deletes all partitions and creates a new protective MBR.\n" in MainMenu()
654 cout << "You may need to edit /etc/fstab and/or your boot loader configuration!\n"; in MainMenu()
678 cout << "b\tback up GPT data to a file\n"; in ShowCommands()
679 cout << "c\tchange a partition's name\n"; in ShowCommands()
680 cout << "d\tdelete a partition\n"; in ShowCommands()
681 cout << "i\tshow detailed information on a partition\n"; in ShowCommands()
682 cout << "l\tlist known partition types\n"; in ShowCommands()
683 cout << "n\tadd a new partition\n"; in ShowCommands()
684 cout << "o\tcreate a new empty GUID partition table (GPT)\n"; in ShowCommands()
685 cout << "p\tprint the partition table\n"; in ShowCommands()
686 cout << "q\tquit without saving changes\n"; in ShowCommands()
687 cout << "r\trecovery and transformation options (experts only)\n"; in ShowCommands()
688 cout << "s\tsort partitions\n"; in ShowCommands()
689 cout << "t\tchange a partition's type code\n"; in ShowCommands()
690 cout << "v\tverify disk\n"; in ShowCommands()
691 cout << "w\twrite table to disk and exit\n"; in ShowCommands()
692 cout << "x\textra functionality (experts only)\n"; in ShowCommands()
693 cout << "?\tprint this menu\n"; in ShowCommands()
703 cout << "\nRecovery/transformation command (? for help): "; in RecoveryMenu()
712 cout << "Warning! This will probably do weird things if you've converted an MBR to\n" in RecoveryMenu()
721 cout << "Warning! This will probably do weird things if you've converted an MBR to\n" in RecoveryMenu()
727 cout << "Warning! This will destroy the currently defined partitions! Proceed? "; in RecoveryMenu()
732 cout << "Problem loading MBR! GPT is untouched; regenerating protective MBR!\n"; in RecoveryMenu()
741 cout << "\nConverted " << temp1 << " partitions. Finalize and exit? "; in RecoveryMenu()
749 cout << "Note: New protective MBR created\n\n"; in RecoveryMenu()
759 cout << "Enter backup filename to load: "; in RecoveryMenu()
798 cout << "b\tuse backup GPT header (rebuilding main)\n"; in ShowRecoveryCommands()
799 cout << "c\tload backup partition table from disk (rebuilding main)\n"; in ShowRecoveryCommands()
800 cout << "d\tuse main GPT header (rebuilding backup)\n"; in ShowRecoveryCommands()
801 cout << "e\tload main partition table from disk (rebuilding backup)\n"; in ShowRecoveryCommands()
802 cout << "f\tload MBR and build fresh GPT from it\n"; in ShowRecoveryCommands()
803 cout << "g\tconvert GPT into MBR and exit\n"; in ShowRecoveryCommands()
804 cout << "h\tmake hybrid MBR\n"; in ShowRecoveryCommands()
805 cout << "i\tshow detailed information on a partition\n"; in ShowRecoveryCommands()
806 cout << "l\tload partition data from a backup file\n"; in ShowRecoveryCommands()
807 cout << "m\treturn to main menu\n"; in ShowRecoveryCommands()
808 cout << "o\tprint protective MBR data\n"; in ShowRecoveryCommands()
809 cout << "p\tprint the partition table\n"; in ShowRecoveryCommands()
810 cout << "q\tquit without saving changes\n"; in ShowRecoveryCommands()
811 cout << "t\ttransform BSD disklabel partition\n"; in ShowRecoveryCommands()
812 cout << "v\tverify disk\n"; in ShowRecoveryCommands()
813 cout << "w\twrite table to disk and exit\n"; in ShowRecoveryCommands()
814 cout << "x\textra functionality (experts only)\n"; in ShowRecoveryCommands()
815 cout << "?\tprint this menu\n"; in ShowRecoveryCommands()
829 cout << "\nExpert command (? for help): "; in ExpertsMenu()
838 cout << "No partitions\n"; in ExpertsMenu()
847 cout << "Partitions will begin on " << GetAlignment() in ExpertsMenu()
851 cout << "Relocating backup data structures to the end of the disk\n"; in ExpertsMenu()
858 cout << "Enter the disk's unique GUID ('R' to randomize): "; in ExpertsMenu()
862 cout << "The new disk GUID is " << GetDiskGUID() << "\n"; in ExpertsMenu()
864 cout << "GUID is too short!\n"; in ExpertsMenu()
910 cout << "Type device filename, or press <Enter> to exit: "; in ExpertsMenu()
939 cout << "a\tset attributes\n"; in ShowExpertCommands()
940 cout << "b\tbyte-swap a partition's name\n"; in ShowExpertCommands()
941 cout << "c\tchange partition GUID\n"; in ShowExpertCommands()
942 cout << "d\tdisplay the sector alignment value\n"; in ShowExpertCommands()
943 cout << "e\trelocate backup data structures to the end of the disk\n"; in ShowExpertCommands()
944 cout << "f\trandomize disk and partition unique GUIDs\n"; in ShowExpertCommands()
945 cout << "g\tchange disk GUID\n"; in ShowExpertCommands()
946 cout << "h\trecompute CHS values in protective/hybrid MBR\n"; in ShowExpertCommands()
947 cout << "i\tshow detailed information on a partition\n"; in ShowExpertCommands()
948 cout << "j\tmove the main partition table\n"; in ShowExpertCommands()
949 cout << "l\tset the sector alignment value\n"; in ShowExpertCommands()
950 cout << "m\treturn to main menu\n"; in ShowExpertCommands()
951 cout << "n\tcreate a new protective MBR\n"; in ShowExpertCommands()
952 cout << "o\tprint protective MBR data\n"; in ShowExpertCommands()
953 cout << "p\tprint the partition table\n"; in ShowExpertCommands()
954 cout << "q\tquit without saving changes\n"; in ShowExpertCommands()
955 cout << "r\trecovery and transformation options (experts only)\n"; in ShowExpertCommands()
956 cout << "s\tresize partition table\n"; in ShowExpertCommands()
957 cout << "t\ttranspose two partition table entries\n"; in ShowExpertCommands()
958 cout << "u\treplicate partition table on new device\n"; in ShowExpertCommands()
959 cout << "v\tverify disk\n"; in ShowExpertCommands()
960 cout << "w\twrite table to disk and exit\n"; in ShowExpertCommands()
961 cout << "z\tzap (destroy) GPT data structures and exit\n"; in ShowExpertCommands()
962 cout << "?\tprint this menu\n"; in ShowExpertCommands()
982 cout.setf(ios::uppercase); in GetMBRTypeCode()
983 cout.fill('0'); in GetMBRTypeCode()
985 cout << "Enter an MBR hex code (default " << hex; in GetMBRTypeCode()
986 cout.width(2); in GetMBRTypeCode()
987 cout << defType << "): " << dec; in GetMBRTypeCode()
994 cout.fill(' '); in GetMBRTypeCode()