• Home
  • Raw
  • Download

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()
364 cout << "No partitions\n"; in SwapPartitions()
375 cout << "WARNING: APM or BSD disklabel structures detected! This operation could\n" in DestroyGPTwPrompt()
378 cout << "\a\aAbout to wipe out GPT on " << device << ". Proceed? "; in DestroyGPTwPrompt()
386 cout << "Blank out MBR? "; in DestroyGPTwPrompt()
390 cout << "MBR is unchanged. You may need to delete an EFI GPT (0xEE) partition\n" in DestroyGPTwPrompt()
408 cout << "No partitions\n"; in ShowDetails()
423 cout << "\nWARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,\n" in MakeHybrid()
434 cout << "Type from one to three GPT partition numbers, separated by spaces, to be\n" in MakeHybrid()
445 cout << "Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? "; in MakeHybrid()
453 cout << "\nCreating entry for GPT partition #" << j + 1 in MakeHybrid()
458 cout << "Set the bootable flag? "; in MakeHybrid()
493 cout << "\nUnused partition space(s) found. Use one to protect more partitions? "; in MakeHybrid()
495 cout << "Note: Default is 0xEE, but this may confuse Mac OS X.\n"; in MakeHybrid()
504 cout << "\nNo partitions converted; original protective/hybrid MBR is unmodified!\n"; in MakeHybrid()
547cout << "\a\nWarning! GPT partition " << partNum << " ends after the 2^32 sector mark! The partiti… in WarnAboutIffyMBRPart()
569 cout << "\nCommand (? for help): "; in MainMenu()
575 cout << "Enter backup filename to save: "; in MainMenu()
582 cout << "No partitions\n"; in MainMenu()
597 cout << "This option deletes all partitions and creates a new protective MBR.\n" in MainMenu()
616 cout << "You may need to edit /etc/fstab and/or your boot loader configuration!\n"; in MainMenu()
640 cout << "b\tback up GPT data to a file\n"; in ShowCommands()
641 cout << "c\tchange a partition's name\n"; in ShowCommands()
642 cout << "d\tdelete a partition\n"; in ShowCommands()
643 cout << "i\tshow detailed information on a partition\n"; in ShowCommands()
644 cout << "l\tlist known partition types\n"; in ShowCommands()
645 cout << "n\tadd a new partition\n"; in ShowCommands()
646 cout << "o\tcreate a new empty GUID partition table (GPT)\n"; in ShowCommands()
647 cout << "p\tprint the partition table\n"; in ShowCommands()
648 cout << "q\tquit without saving changes\n"; in ShowCommands()
649 cout << "r\trecovery and transformation options (experts only)\n"; in ShowCommands()
650 cout << "s\tsort partitions\n"; in ShowCommands()
651 cout << "t\tchange a partition's type code\n"; in ShowCommands()
652 cout << "v\tverify disk\n"; in ShowCommands()
653 cout << "w\twrite table to disk and exit\n"; in ShowCommands()
654 cout << "x\textra functionality (experts only)\n"; in ShowCommands()
655 cout << "?\tprint this menu\n"; in ShowCommands()
665 cout << "\nRecovery/transformation command (? for help): "; in RecoveryMenu()
674 cout << "Warning! This will probably do weird things if you've converted an MBR to\n" in RecoveryMenu()
683 cout << "Warning! This will probably do weird things if you've converted an MBR to\n" in RecoveryMenu()
689 cout << "Warning! This will destroy the currently defined partitions! Proceed? "; in RecoveryMenu()
694 cout << "Problem loading MBR! GPT is untouched; regenerating protective MBR!\n"; in RecoveryMenu()
703 cout << "\nConverted " << temp1 << " partitions. Finalize and exit? "; in RecoveryMenu()
711 cout << "Note: New protective MBR created\n\n"; in RecoveryMenu()
721 cout << "Enter backup filename to load: "; in RecoveryMenu()
760 cout << "b\tuse backup GPT header (rebuilding main)\n"; in ShowRecoveryCommands()
761 cout << "c\tload backup partition table from disk (rebuilding main)\n"; in ShowRecoveryCommands()
762 cout << "d\tuse main GPT header (rebuilding backup)\n"; in ShowRecoveryCommands()
763 cout << "e\tload main partition table from disk (rebuilding backup)\n"; in ShowRecoveryCommands()
764 cout << "f\tload MBR and build fresh GPT from it\n"; in ShowRecoveryCommands()
765 cout << "g\tconvert GPT into MBR and exit\n"; in ShowRecoveryCommands()
766 cout << "h\tmake hybrid MBR\n"; in ShowRecoveryCommands()
767 cout << "i\tshow detailed information on a partition\n"; in ShowRecoveryCommands()
768 cout << "l\tload partition data from a backup file\n"; in ShowRecoveryCommands()
769 cout << "m\treturn to main menu\n"; in ShowRecoveryCommands()
770 cout << "o\tprint protective MBR data\n"; in ShowRecoveryCommands()
771 cout << "p\tprint the partition table\n"; in ShowRecoveryCommands()
772 cout << "q\tquit without saving changes\n"; in ShowRecoveryCommands()
773 cout << "t\ttransform BSD disklabel partition\n"; in ShowRecoveryCommands()
774 cout << "v\tverify disk\n"; in ShowRecoveryCommands()
775 cout << "w\twrite table to disk and exit\n"; in ShowRecoveryCommands()
776 cout << "x\textra functionality (experts only)\n"; in ShowRecoveryCommands()
777 cout << "?\tprint this menu\n"; in ShowRecoveryCommands()
791 cout << "\nExpert command (? for help): "; in ExpertsMenu()
800 cout << "No partitions\n"; in ExpertsMenu()
806 cout << "Partitions will begin on " << GetAlignment() in ExpertsMenu()
810 cout << "Relocating backup data structures to the end of the disk\n"; in ExpertsMenu()
817 cout << "Enter the disk's unique GUID ('R' to randomize): "; in ExpertsMenu()
821 cout << "The new disk GUID is " << GetDiskGUID() << "\n"; in ExpertsMenu()
823 cout << "GUID is too short!\n"; in ExpertsMenu()
869 cout << "Type device filename, or press <Enter> to exit: "; in ExpertsMenu()
898 cout << "a\tset attributes\n"; in ShowExpertCommands()
899 cout << "c\tchange partition GUID\n"; in ShowExpertCommands()
900 cout << "d\tdisplay the sector alignment value\n"; in ShowExpertCommands()
901 cout << "e\trelocate backup data structures to the end of the disk\n"; in ShowExpertCommands()
902 cout << "f\trandomize disk and partition unique GUIDs\n"; in ShowExpertCommands()
903 cout << "g\tchange disk GUID\n"; in ShowExpertCommands()
904 cout << "h\trecompute CHS values in protective/hybrid MBR\n"; in ShowExpertCommands()
905 cout << "i\tshow detailed information on a partition\n"; in ShowExpertCommands()
906 cout << "j\tmove the main partition table\n"; in ShowExpertCommands()
907 cout << "l\tset the sector alignment value\n"; in ShowExpertCommands()
908 cout << "m\treturn to main menu\n"; in ShowExpertCommands()
909 cout << "n\tcreate a new protective MBR\n"; in ShowExpertCommands()
910 cout << "o\tprint protective MBR data\n"; in ShowExpertCommands()
911 cout << "p\tprint the partition table\n"; in ShowExpertCommands()
912 cout << "q\tquit without saving changes\n"; in ShowExpertCommands()
913 cout << "r\trecovery and transformation options (experts only)\n"; in ShowExpertCommands()
914 cout << "s\tresize partition table\n"; in ShowExpertCommands()
915 cout << "t\ttranspose two partition table entries\n"; in ShowExpertCommands()
916 cout << "u\treplicate partition table on new device\n"; in ShowExpertCommands()
917 cout << "v\tverify disk\n"; in ShowExpertCommands()
918 cout << "w\twrite table to disk and exit\n"; in ShowExpertCommands()
919 cout << "z\tzap (destroy) GPT data structures and exit\n"; in ShowExpertCommands()
920 cout << "?\tprint this menu\n"; in ShowExpertCommands()
940 cout.setf(ios::uppercase); in GetMBRTypeCode()
941 cout.fill('0'); in GetMBRTypeCode()
943 cout << "Enter an MBR hex code (default " << hex; in GetMBRTypeCode()
944 cout.width(2); in GetMBRTypeCode()
945 cout << defType << "): " << dec; in GetMBRTypeCode()
952 cout.fill(' '); in GetMBRTypeCode()