See previous patch for explanation. With this patch and the previous two, the mkdosfs generated FAT32 file systems work well in my extremely picky TechniSat device. Of course, they're also detected cleanly by Linux and Windows. --- src/mkdosfs.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/mkdosfs.c b/src/mkdosfs.c index 3affe73..0bf7f5b 100644 --- a/src/mkdosfs.c +++ b/src/mkdosfs.c @@ -923,7 +923,6 @@ static void setup_tables(void) clust32 = ((long long)fatdata32 * sector_size + nr_fats * 8) / ((int)bs.cluster_size * sector_size + nr_fats * 4); fatlength32 = cdiv((clust32 + 2) * 4, sector_size); - fatlength32 = align_object(fatlength32, bs.cluster_size); /* Need to recalculate number of clusters, since the unused parts of the * FATS and data area together could make up space for an additional, * not really present cluster. */ -- 1.7.3.4 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org