Results 1 to 4 of 4
how do you determine the max number files can be stored in a single directory on the linux box?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-13-2005 #1Just Joined!
- Join Date
- Dec 2005
- Posts
- 2
how do you determine the max number files can be stored in a single directory on the linux box?
how do you determine the max number files can be stored in a single directory on the linux box?
- 12-13-2005 #2Linux User
- Join Date
- Apr 2005
- Location
- Ohio
- Posts
- 326
Umm lots..
http://answers.google.com/answers/threadview?id=122241
There is a limit of 32k (3276
subdirectories in a single directory, a limitation likely of only academic interest, as many people don't even have that many files (though huge mail servers may need to keep that in mind). The ext2 inode specification allows for over 100 trillion files to reside in a single directory, however because of the current linked-list directory implementation, only about 10-15 thousand files can realistically be stored in a single directory.
far...out
- 12-13-2005 #3Linux User
- Join Date
- Jul 2005
- Posts
- 369
with some bash script its easy to hit that limit
All i want for christmas is a new liver....a second chance to get afflicted with Cirrhosis
- 10-19-2006 #4Just Joined!
- Join Date
- Oct 2006
- Posts
- 1
This text only talk about ext file systems.
I seem there like it was a contradiction:There is a limit of 32k (3276 subdirectories in a single directory, a limitation likely of only academic interest, as many people don't even have that many files (though huge mail servers may need to keep that in mind). The ext2 inode specification allows for over 100 trillion files to reside in a single directory, however because of the current linked-list directory implementation, only about 10-15 thousand files can realistically be stored in a single directory.
1) only 32000 subfolders into a folder
2) 100 trillion files into a folder
Why is there that difference between the max number of subfolder and the max number of files?
32000 subfolders is very few.. FAT32 suposes to support 65000¡¡
What about the rest of the file systems?. All of this is only about ext.


Reply With Quote
