-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GRUB 2.06 refusing to read filesystem due to zeroed out date field
GRUB 2.06 added support for showing file modification times using `ls -l`. The GRUB fat module now errors with GRUB_ERR_OUT_OF_RANGE if a file's modification date + time reads as zero. This is a valid check, since the DOS/FAT date format uses 1-based month and day values, so no valid date can ever be encoded as `0x0000`. I've update the firmware to return a hard-coded date for all date fields on directory entries, and confirmed the device is readable again from a GRUB 2.06 shell. Fixes #11
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters