• Home
  • Raw
  • Download

Lines Matching refs:xprintf

142     xprintf("%2x %-22s\t\t%2x %-22.22s\n", sys_types[i].id, sys_types[i].type,  in list_types()
144 if (adjust) xprintf("%2x %-22s\n",sys_types[size-1].id, sys_types[size-1].type); in list_types()
247 xprintf("Warning: deleting partitions after 60\n"); in read_ebr()
328 xprintf("Building a new DOS Disklabel. The changes will\n" in create_empty_doslabel()
366 xprintf("Device contains neither a valid DOS " in read_mbr()
384 xprintf("\nThe number of cylinders for this disk is set to %lu.\n" in read_mbr()
436 xprintf("Partition %u has different physical/logical beginings (Non-Linux?): \n", partition+1); in consistency_check()
437 xprintf("phys = (%u %u %u) ",physbc, physbh, physbs); in consistency_check()
438 xprintf("logical = (%u %u %u)\n", lbc, lbh, lbs); in consistency_check()
441 xprintf("Partition %u has different physical/logical endings: \n", partition+1); in consistency_check()
442 xprintf("phys = (%u %u %u) ",physec, physeh, physes); in consistency_check()
443 xprintf("logical = (%u %u %u)\n", lec, leh, les); in consistency_check()
447 xprintf("Partition %u does not end on cylinder boundary\n", partition + 1); in consistency_check()
461 xprintf("Device %s: doesn't contain a valid partition table\n", disk_device); in list_partitions()
466 xprintf("%*s Boot Start End Blocks Id System\n", len+1, "Device"); in list_partitions()
485 if (lastchar) xprintf("%s%c%d",dev, lastchar, i+1); in list_partitions()
486 else xprintf("%s%d",dev, i+1); in list_partitions()
488 xprintf(" %c %11u %11u %11u%c %2x %s\n", in list_partitions()
496 if (check_order()) xprintf("\nPartition table entries are not in disk order"); in list_partitions()
505 if (mbytes < 10000) xprintf("Disk %s: %lu MB, %llu bytes\n", disk_device, mbytes, bytes); in print_mbr()
506 …else xprintf("Disk %s: %lu.%lu GB, %llu bytes\n", disk_device, mbytes/1000, (mbytes/100)%10, bytes… in print_mbr()
507 xprintf("%ld heads, %ld sectors/track, %ld cylinders", g_heads, g_sectors, g_cylinders); in print_mbr()
509 xprintf(", total %lld sectors\n", total_number_sectors/(g_sect_size/SECTOR_SIZE)); in print_mbr()
510 xprintf("Units = sectors of 1 * %ld = %ld bytes\n",g_sect_size, g_sect_size); in print_mbr()
511 } else xprintf("\nUnits = cylinders of %ld * %ld = %ld bytes\n\n", in print_mbr()
537 xprintf("%s", mesg); in read_input()
581 if (!sys_id) xprintf("Partition %u is empty\n", i+1); in delete_partition()
638 xprintf("Partition (%u - %u):", 1, num_parts); in ask_partition()
643 else xprintf("Invalid number entered\n"); in ask_partition()
650 if (is_partition_clear(p)) xprintf("Partition %u is empty\n", i+1); in toggle_active_flag()
653 xprintf("WARNING: Partition %u is an extended partition\n", i + 1); in toggle_active_flag()
677 xprintf("The partition table has been altered.\n"); in write_table()
678 xprintf("Calling ioctl() to re-read partition table\n"); in write_table()
700 (num >= 0) ? xprintf("Selected partition %d\n",num+1): in get_non_free_partition()
701 xprintf("No partition is defined yet!\n"); in get_non_free_partition()
719 (num >= 0) ? xprintf("Selected partition %d\n",num+1): in get_free_partition()
720 xprintf("All primary partitions have been defined already!\n"); in get_free_partition()
734 xprintf("%s",mesg); in ask_value()
789 xprintf("Using default value %lld\n", defalt); in ask_value()
792 else xprintf("Value out of range\n"); in ask_value()
803 if (asked) xprintf("Sector %lld is already allocated\n",start); in validate()
891 xprintf("No Free sectors available\n"); in ask_end_sector()
907 xprintf("No Free sectors available\n"); in ask_end_sector()
922 xprintf("Partition %u is already defined, delete it to re-add\n", idx+1); in add_partition()
1008 xprintf("The maximum number of partitions has been created\n"); in add_new_partition()
1013 else xprintf("You must delete some partition and add " in add_new_partition()
1049 xprintf("Partition %d doesn't exist yet!\n", i); in change_systype()
1055 xprintf("you can't change a partition to an extended or vice-versa\n"); in change_systype()
1059 xprintf("Changed system type of partition %u to %0x (%s)\n",i, sys_id, get_type(sys_id)); in change_systype()
1071 if (!total) xprintf("Partition %u contains sector 0\n", n); in check()
1073 xprintf("Partition %u: head %u greater than maximum %lu\n", n, h + 1, g_heads); in check()
1075 xprintf("Partition %u: sector %u greater than maximum %lu\n", n, s, g_sectors); in check()
1077 xprintf("Partition %u: cylinder %lld greater than maximum %lu\n", n, real_c + 1, g_cylinders); in check()
1079 xprintf("Partition %u: previous sectors %lld disagrees with total %lld\n", n, start, total); in check()
1107 xprintf("Warning: bad start-of-data in partition %u\n", i + 1); in verify_table()
1113 xprintf("Warning: partition %u overlaps partition %u\n", j + 1, i + 1); in verify_table()
1130 xprintf("Warning: partition %u is empty\n", i + 1); in verify_table()
1132 xprintf("Logical partition %u not entirely in partition %u\n", i + 1, ext_idx + 1); in verify_table()
1136 xprintf("Total allocated sectors %lld greater than the maximum " in verify_table()
1140 if (total) xprintf("%lld unallocated sectors\n", total); in verify_table()
1157 xprintf("Partition %u doesn't have data area\n", idx+1); in move_begning()
1177 xprintf("Device: %s\n", disk_device); in print_raw_sectors()
1181 if (!(j % 16)) xprintf("\n0x%03X: ",j); in print_raw_sectors()
1182 xprintf("%02X ",pe->sec_buffer[j]); in print_raw_sectors()
1194xprintf("Disk %s: %lu heads, %lu sectors, %lu cylinders\n\n", disk_device, g_heads, g_sectors, g_c… in print_partitions_list()
1195 xprintf("Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID\n"); in print_partitions_list()
1204 xprintf("%2u %02x%4u%4u%5u%4u%4u%5u%11u%11u %02x\n", in print_partitions_list()
1233 xprintf("Ordering is already correct\n\n"); in fix_order()
1286 xprintf("Done!\n"); in fix_order()
1291 xprintf("a\ttoggle a bootable flag\n" in print_menu()
1310 xprintf("b\tmove beginning of data in a partition\n" in print_xmenu()
1345 xprintf("\nThe number of cylinders for this disk is set to %lu.\n" in expert_menu()
1394 xprintf("Unknown command '%c'\n",choice); in expert_menu()
1504 xprintf("Dos compatible flag is %s\n", dos_flag?"Set" : "Not set"); in fdisk_main()
1535 xprintf("Changing Display/Entry units to %s\n",disp_unit_cyl?"cylinders" : "sectors"); in fdisk_main()
1552 xprintf("%c: Unknown command\n",choice); in fdisk_main()