Re: limit number of subdirectoies

Khimenko Victor (khim@sch57.msk.ru)
Mon, 7 Aug 2000 10:54:22 +0400 (MSD)


In <33719.212.115.15.3.965397071@qmserver.domain.com> ysert@turkport.net (ysert@turkport.net) wrote:
> Hi all

> i'm new in the list. is there a way to increase the limit number of subdirectories could
> created under a directory? For my machine (mandrake7.1 - 2.2.15-4mdk) the limit number
> 32000...

You can but it's play with fire. It's problem with number of names for one file
(directory here). Upper limit is 65535 (it's unsigned short) but anything above
32768 can trigger subtle bugs ...

P.S. Why you needed such an incredible number of subdirectories in one
derectory ? Trying to make "most slow system for given hardware" or something ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/