• Hirofumi Ogawa's avatar
    [PATCH] use fff/ffff/fffffff instead of ff8/fff8/ffffff8 for EOF of FAT · a22b9070
    Hirofumi Ogawa authored
    On FAT12, the current FAT driver recognizes 0xff8-0xfff as EOF, and it
    writes in 0xff8 as EOF.  This is right behavior.  However, the firmware
    of some MP3-Players recognize only 0xfff (standard EOF which Micorsoft
    uses) as EOF.
    
    So, we write 0xfff instead of 0xff8 as EOF, until the reason we need
    values other than standard EOF is found.
    
    [Randy Dunlap, I appreciate your help.]
    a22b9070
msdos_fs.h 13.3 KB