[En-Nut-Discussion] PHAT 256 File in root directory

Harald Kipp harald.kipp at egnite.de
Tue Jun 22 09:10:59 CEST 2010


Hi Andre,

On 22.06.2010 06:45, Andre Riesberg wrote:

> Type is FAT12
> Bytes per sector: 512
> Number of sectors used by the root directory: 32
> 
> I know a directory entry needs 32 bytes. If I calculate the maximum 
> number of directory entry's  512 * 32 / 32 = 512.
> 
> But after 256 files in the root directory it is not possible to create a 
> new file.

Not sure, but some time ago I observed, that PHAT uses VFAT entries, if
the filename contains lowercase characters. In that case each 8.3 name
would occupy two directory entries.

To make sure, you may try all uppercase names.

Regards,

Harald




More information about the En-Nut-Discussion mailing list