Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.sys.atari.st    |    Discussion about 16 bit Atari micros    |    15,439 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 13,669 of 15,439    |
|    Uwe Seimet to All    |
|    Revisited: HDDRIVER, FAT32, MiNT, FAT to    |
|    02 Nov 08 10:23:10    |
      From: Uwe.Seimet@seimet.de              Hi all,              To Jean-Luc and everybody who contributed to the discussion of MiNT not       accepting a FAT32 partition of 4095 MB created by HDDRUTIL:       I finally checked HDDRUTIL's FAT size calculation and did not find       anything wrong, even though MiNT reports "FAT too small".              Let me summarize the calculation, so that you can comment on it:              When creating a FAT32 partition of 4095 MB HDDRUTIL allocates 8386528       sectors of 512 bytes for the FATs and the actual data area. 8174 sectors       are allocated for each FAT, which means that 8386528-2*8174=8370180       sectors remain for the actual data. There are 8 sectors per cluster,       which means that there are 8386528/8=1046272 data clusters. For each of       these 1046272 clusters a 32 bit FAT entry is required, which means that       1046272*4=4185088 bytes are needed per FAT. This is exactly what 8174       sectors per FAT amount to: 8174*512=4185088.              This calculation shows that the number of FAT sectors allocated by       HDDRUTIL is exactly the number of sectors needed.       If my calculation is right MiNT is wrong and should be fixed. If my       calculation is wrong please point out the error so that I can fix my code.              Best regards Uwe              --       -----------------------------------------------------------------------        Dr. Uwe Seimet http://www.seimet.de/              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca