Hi Petr,
There's something wrong with the Atari FAT option code then - this is what I get
with atari=yes on the first of your partitions (128MB?):
255 MB, IIRC (same sector/cluster size as 128 MB)
Right -
FAT (before atari): FAT bits 0 clusters 32622 sectors 65280
FAT (option atari): FAT bits 12 clusters 32622 sectors 65280
FAT (after atari): FAT bits 12 clusters 32622 sectors 65280
The GEMDOS option code picks a 12 bit FAT even though it should clearly fit into
a 16 bit FAT.
I don't know what you mean by "before/after atari" but it's clearly all
'before' is right before the FAT bit size is set in inode.c - without the GEMDOS
option, the FAT is assumed to be 16 bit if it's not set to 32 bit.
'after' is the final result once the GEMDOS option has been processed. If the
total number of clusters is found to be larger than the maximum for 16 bit FAT,
the FAT size is assumed to be 12 bit (with no further adjustment of logical
sector size or sectors per cluster).
That test clearly goes wrong here.
wrong. FAT12 is on floppies only... Besides that how could 32622 value
fit into 12 bit number?
That's the beauty of it, apparently. Just kidding.
I'll go back to the pre-2.6 code to see if it made sense there.
Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html