mkdosfs will incorrectly calculate the number of sectors of a given FAT partition if the number sectors are odd due to count_blocks incorrectly handling the remainder of a division operation. This miscalculation causes the OMAP4 bootloader to fail to boot. This bug can be observed by comparing the total sector size in fdisk expert more to fsck.msdos; this discrepancy only shows up when the number of sectors are odd. See https://bugs.launchpad.net/ubuntu/+source/dosfstools/+bug/794043 for more information. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Description
No description provided
Languages
C
97.9%
Makefile
1.9%
Shell
0.2%