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