else
memset(size, 0, sizeof size);
+ if (i == 1)
+ more_printf(" # B Start End Size Id Type\n");
+
get_label(ptab->ostype, &parttype);
more_printf(" %2d %s %11d %11d %s %02X %s",
i, (ptab->active_flag == 0x80) ? "x" : " ",
remove_spaces(d->edd_params.host_bus_type),
remove_spaces(d->edd_params.interface_type));
- more_printf(" # B Start End Size Id Type\n");
if (parse_partition_table(d, &show_partition_information) == -1) {
get_error(&error_buffer);
more_printf("%s\n", error_buffer);
char menu_title[MENULEN + 1];
char menu_title_ref[MENULEN + 1];
+ if (nb_partitions_seen == 1)
+ add_sep();
+
memset(menu_title,0,sizeof menu_title);
memset(menu_title_ref,0,sizeof menu_title_ref);
snprintf(menu_title_ref, sizeof menu_title_ref, "disk_%x_part_%d",
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu[nb_sub_disk_menu].items_count++;
- add_sep();
dn=disk_number;
parse_partition_table(&d[disk_number], &show_partition_information);