linux - How many files can a folder hold in an ext3 filesystem? -


question says all.

is there limit of files folder can have? if not, there implications if folder holds many files? if so, how many many?

edit:

please see how many files in directory many? -- note dir_index, claims upper-bound on files in directory. see ext3 – handling large number of files in directory , bad performance when not using dir_index :-)


wiki: ext3 seems indicate it's "unlimited". 1 disadvantage of "too many" files programs aren't designed work with many files -- instance gui "locks up" while trying load directory contents.

since underlying storage b-tree variant, looking a specific file name fast. (this covers issues readdir.)

happy coding.


for it's worth, proxies (like squid), use multi-level directory structures default. again, amount of expected cache files rather large compared number of say, documents, normal user may have :)


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -