Hi Henrik & Randall,
> I just went and read that too - "links per inode" would include both
> directories or files or a mix of both. I checked the filesystem code
> for this, the ext3 inode is limited by a 16bit "links_count". Under
> linux (UNIX) a directory simply contains a list of names and their
> inodes (a "link") - there is no difference at that level between a
> "file" and a "sub-directory".
>> I just checked the ext3 limits on wikipedia, apparently it can't
>> handle more than roughly 32000 sub folders inside a folder, it's
>> unclear whether that applies to files too or not.
>> Anyway, how does it work, could this level be reached or is there a
>> stopper somewhere?
I don't think the number of files is limited this way. I can
definitely create a directory with over 100k files directly in it.
Inodes seem to form a linked list so it just gets slow to work with
when there are lots of files.