SUMMARY: Number of subdirectories

From: Zvonko Cvetanovski (zvonko@Yugoslavia.EU.net)
Date: Thu Feb 25 1999 - 11:03:59 CST


-----------------------------------------------------------------------------
QUESTION:

Is there any way to increase max number of subdirectories for the directory?
It looks that default limit is 32767.
Thanks in advance.
-----------------------------------------------------------------------------
ANSWER:

I received several very similar replies, among them I will choose
one for the SUMMARY:

You REALLY don't want to unless you are un-interested in system
performance. Unix does NOT hash directories - each directory search is a
linear search of the inodes.

You are much better off dividing things up sooner - maybe build some kind
of binary or n-ary tree and put files into their appropriate bins.

-----------------------------------------------------------------------------
Thanks to all who (promptly) replied.

                                        Zvonko



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:16 CDT