UFS files in a directory limit?

Ivan Voras ivoras at freebsd.org
Mon Mar 22 00:08:49 UTC 2010


hi,

What is the limit on the number of files in a directory on UFS? I always 
thought it is 32,767 (or near it) but now I see several directories on a 
server with more than 36,000 files (yes it's inefficient, that's not the 
point).

On a similar topic, I presume there are no unexpected problems with 
increasing vfs.ufs.dirhash_mem to ridiculous amounts like 100 MB? :)



More information about the freebsd-fs mailing list