Find the answer to your Linux question:
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.
  1. #1
    Just 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?

  2. #2
    Linux 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

  3. #3
    Linux 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

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Oct 2006
    Posts
    1
    This text only talk about ext file systems.

    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.
    I seem there like it was a contradiction:
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •