| 63 | #endif |
| 64 | |
| 65 | static void hfs_dump(disk_t *disk_car, const partition_t *partition, const unsigned char *buffer_bs, const unsigned char *buffer_backup_bs, char **current_cmd) |
| 66 | { |
| 67 | log_info("Superblock Backup superblock\n"); |
| 68 | dump2_log(buffer_bs, buffer_backup_bs, HFSP_BOOT_SECTOR_SIZE); |
| 69 | if(*current_cmd==NULL) |
| 70 | { |
| 71 | #ifdef HAVE_NCURSES |
| 72 | hfs_dump_ncurses(disk_car, partition, buffer_bs, buffer_backup_bs); |
| 73 | #endif |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | static int HFS_HFSP_boot_sector_command(char **current_cmd, const char *options) |
| 78 | { |
no test coverage detected