.
The users normally workaround this by re-formatting the partition as
FAT16/FAT32, like here:
https://github.com/FEDEVEL/openrex-uboot-v2015.10/issues/1
The patch fixes the bounds of a file and FAT12 entries chaining into
a file, including EOF markup.
Signed-off-by: Philipp Skadorov
---
fs/fat
, 9. Dezember 2016 13:55:37 CET Philipp Skadorov wrote:
>>> The u-boot command fatwrite empties FAT clusters from the beginning
>>> till the end of the file.
>>> Specifically for FAT12 it fails to detect the end of the file and goes
>>> beyond the file boun
/FAT32, like here:
https://github.com/FEDEVEL/openrex-uboot-v2015.10/issues/1
The patch is to check file bounds by already-existing macro that
accounts for FAT12.
The command then works correctly for all types of FAT.
Signed-off-by: Philipp Skadorov
Cc:Donggeun Kim
---
fs/fat/fat_write.c | 5
3 matches
Mail list logo