| 260 | |
| 261 | #ifdef HAVE_NCURSES |
| 262 | static const char *adv_get_boot_description(const partition_t *partition) |
| 263 | { |
| 264 | assert(partition!=NULL); |
| 265 | if(is_part_linux(partition)) |
| 266 | { |
| 267 | return "Locate ext2/ext3/ext4 backup superblock"; |
| 268 | } |
| 269 | else if(is_part_hfs(partition) || is_part_hfsp(partition)) |
| 270 | { |
| 271 | return "Locate HFS/HFS+ backup volume header"; |
| 272 | } |
| 273 | else if(is_linux(partition)) |
| 274 | { |
| 275 | return "Locate ext2/ext3/ext4 backup superblock"; |
| 276 | } |
| 277 | else if(is_hfs(partition) || is_hfsp(partition)) |
| 278 | { |
| 279 | return "Locate HFS/HFS+ backup volume header"; |
| 280 | } |
| 281 | return "Boot sector recovery"; |
| 282 | } |
| 283 | |
| 284 | static const char *adv_get_options_for_partition(const partition_t *partition) |
| 285 | { |
no test coverage detected