hidden hit counter
Help!

Fat32 file or folder limits

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Fat32 RSS
Next:  data format RAW on my drive  
Author Message
jtsdadinaz
External


Since: Apr 05, 2006
Posts: 2



PostPosted: Wed Apr 05, 2006 12:04 pm    Post subject: Fat32 file or folder limits
Archived from groups: microsoft>public>win98>fat32 (more info?)

I have not seen the answer to this anywhere yet.

1. What is the actual number oif files you can have in a fat32 folder? I
have one that has 22,657 and can not add any.

2. Can this limit be changed?
Back to top
Tim Slattery
External


Since: Jun 14, 2004
Posts: 256



PostPosted: Wed Apr 05, 2006 4:31 pm    Post subject: Re: Fat32 file or folder limits [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

jtsdadinaz wrote:

>I have not seen the answer to this anywhere yet.
>
>1. What is the actual number of files you can have in a fat32 folder? I
>have one that has 22,657 and can not add any.

A FAT32 directory can have 65,536 directory entries. Each file and
subdirectory takes from two to thirteen entries, depending on the
length of its name, so those entries can disappear long before you
think you've used them all up. Your total of 22,657 files could very
easily use 65,000 entries.

>2. Can this limit be changed?

No.

--
Tim Slattery
MS MVP(DTS)
Slattery_T@bls.gov
Back to top
jtsdadinaz
External


Since: Apr 05, 2006
Posts: 2



PostPosted: Wed Apr 05, 2006 5:34 pm    Post subject: Re: Fat32 file or folder limits [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Remind me where I can read up on directory entries per say. My filenames
aren't that long to take more than a couple of entries each. Or is there some
kind of utility that will tel lme how many entries a file uses?

"Tim Slattery" wrote:

> jtsdadinaz wrote:
>
> >I have not seen the answer to this anywhere yet.
> >
> >1. What is the actual number of files you can have in a fat32 folder? I
> >have one that has 22,657 and can not add any.
>
> A FAT32 directory can have 65,536 directory entries. Each file and
> subdirectory takes from two to thirteen entries, depending on the
> length of its name, so those entries can disappear long before you
> think you've used them all up. Your total of 22,657 files could very
> easily use 65,000 entries.
>
> >2. Can this limit be changed?
>
> No.
>
> --
> Tim Slattery
> MS MVP(DTS)
> Slattery_T@bls.gov
>
Back to top
Tim Slattery
External


Since: Jun 14, 2004
Posts: 256



PostPosted: Thu Apr 06, 2006 12:59 pm    Post subject: Re: Fat32 file or folder limits [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

jtsdadinaz wrote:

>Remind me where I can read up on directory entries per say. My filenames
>aren't that long to take more than a couple of entries each. Or is there some
>kind of utility that will tel lme how many entries a file uses?

The FAT32 spec is available here:
http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx

It gives details on everything, including the directory structure and
the way Long File Names (LFNs) are stored in directories.

Basically, there's one directory entry that always holds the short
(8.3) version of the file name. If the actual name doesn't fit that
mold, then there will be one to twelve more entries, each of which
holds 13 bytes of the full name. So a file named
"veryverylongname.txt" would take three entries. The first would have
the short name, something like "veryve~1.txt", the second would have
"veryverylongn", and the third would have "ame.txt".

--
Tim Slattery
MS MVP(DTS)
Slattery_T@bls.gov
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Fat32 All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum