| 418 | } |
| 419 | |
| 420 | static void adv_menu_list_selected(disk_t *disk, const partition_t *partition, const int verbose, const int expert, char **current_cmd) |
| 421 | { |
| 422 | if(partition->sb_offset!=0 && partition->sb_size>0) |
| 423 | { |
| 424 | io_redir_add_redir(disk, |
| 425 | partition->part_offset+partition->sborg_offset, |
| 426 | partition->sb_size, |
| 427 | partition->part_offset+partition->sb_offset, |
| 428 | NULL); |
| 429 | dir_partition(disk,partition, verbose, expert, current_cmd); |
| 430 | io_redir_del_redir(disk, partition->part_offset+partition->sborg_offset); |
| 431 | } |
| 432 | else |
| 433 | dir_partition(disk, partition, verbose, expert, current_cmd); |
| 434 | } |
| 435 | |
| 436 | static void adv_menu_superblock_selected(disk_t *disk, partition_t *partition, const int verbose,const int dump_ind, char**current_cmd) |
| 437 | { |
no test coverage detected