| 80 | } |
| 81 | |
| 82 | int recover_BeFS(const disk_t *disk_car, const struct disk_super_block *beos_block, partition_t *partition, const int dump_ind) |
| 83 | { |
| 84 | if(test_BeFS(disk_car,beos_block,partition,dump_ind)!=0) |
| 85 | return 1; |
| 86 | set_BeFS_info(beos_block, partition); |
| 87 | partition->part_size=le64(beos_block->num_blocks) << le32(beos_block->block_shift); |
| 88 | partition->part_type_i386=(unsigned char)P_BEOS; |
| 89 | partition->part_type_mac=PMAC_BEOS; |
| 90 | partition->part_type_gpt=GPT_ENT_TYPE_BEOS_BFS; |
| 91 | return 0; |
| 92 | } |
no test coverage detected