[lug] Too many files error
lorireed at lightning-rose.com
Sat Apr 22 16:23:53 MDT 2006
You could create a hierarchy of directories based on the file name.
Or you could use the MFFS and have one big file with each digest in a fork.
There's a limit of 2.1 billion forks, but surely 2.1 billion forks
should be enough for anyone. :)
Ken Kinder wrote:
> I'm working on an application that creates lots of files. To reduce
> the number of files in one dir, I have broken the files up into
> subdirs. The files are basically md5 hex digests, and I'm taking the
> first five chars to determine a directory:
> However, I'm running into "Too many links" as an error upon creating
> the directories. This is happening right after the 32,0001st
> directory, which seems like an awfully even number. I thought ext3
> didn't have this problem.
> Thoughts? Anyone have creative solutions for this? I'm barking up the
> right tree?
More information about the LUG