On Wed, 2012-12-19 at 19:53 +0000, Ian Campbell wrote:
> 96*7282 = 699072 (0xAAAC0) which doesn't seem like a terribly
> interesting number, neither does doubling it (VFAT directory names are
> in UTF-16 allegedly). 

VFAT directory entries are 32 bytes. With long filenames multiple of
these are used, each containing up to 13 characters (for reasons to dull
to go into). So for a 96 character filename that is 8 entries for the
long filename + 1 for the regular entry. So 7282 such files would
require 65538 directory entries.

FAT 32 has a limit of 65534 entries per directory.

Similarly for 64 character filenames each file needs 6 entries, and
10923 of those is also 65534.

So that's where the limit comes from. It's of pretty much no use to you
but it's nice to know ;-)

Ian.

-- 
Ian Campbell


If love is the answer, could you rephrase the question?
                -- Lily Tomlin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to