Do you mind if I change the message emitted by fat_checkbootrecord() from ferr() to finfo()?
Mount will produce an error message if it checks all four partitions and does not find a valid FBR.
Also, do you mind if I change the erronious MBR references to FBR?
I believe that if you enable file system debug error messages, then you will see the error message too.
Do you mind if I change the message emitted by fat_checkbootrecord() from ferr() to finfo()?
Mount will produce an error message if it checks all four partitions and does not find a valid FBR.
Also, do you mind if I change the erronious MBR references to FBR?
- It reads sector 0, the true MBR, calls fat_checkbootrecord(), which fails because the uint16_t at offset 11 does not equal the hardware blocksize (512). This causes the error message to print.
How about a comment just above the erroneous MBR definitions stating that "The below references to MBR actually refer to the Fat Boot Record."?