Skip to content

Commit

Permalink
show CHS / LBA usage in UI for disk if ext. options enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
boeckmann committed Aug 4, 2024
1 parent 947b069 commit 2fd5905
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions source/fdisk/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,15 @@ int Standard_Menu( int menu )
minimum_option = 5;
}

if ( flags.extended_options_flag ) {
if ( pDrive->ext_int_13 ) {
con_printf( " (LBA)" );
}
else {
con_printf(" (CHS)" );
}
}

if ( menu == DP ) {
/* Ensure that primary partitions are available to delete. */
counter = 0;
Expand Down

0 comments on commit 2fd5905

Please sign in to comment.