| 75 | } |
| 76 | |
| 77 | static int HFS_HFSP_boot_sector_command(char **current_cmd, const char *options) |
| 78 | { |
| 79 | skip_comma_in_command(current_cmd); |
| 80 | if(check_command(current_cmd,"dump",4)==0) |
| 81 | { |
| 82 | return 'D'; |
| 83 | } |
| 84 | else if(check_command(current_cmd,"originalhfsp",11)==0) |
| 85 | { |
| 86 | if(strchr(options,'O')!=NULL) |
| 87 | return 'O'; |
| 88 | } |
| 89 | else if(check_command(current_cmd,"backuphfsp",9)==0) |
| 90 | { |
| 91 | if(strchr(options,'B')!=NULL) |
| 92 | return 'B'; |
| 93 | } |
| 94 | return 0; |
| 95 | } |
| 96 | |
| 97 | static const char *HFS_HFSP_boot_sector_rescan(disk_t *disk_car, const partition_t *partition, unsigned char *buffer_bs, unsigned char *buffer_backup_bs, const int verbose) |
| 98 | { |
no test coverage detected