Summary: Maximum subdirectories in a directory

From: James Greer <>
Date: Sat Oct 26 2002 - 19:29:17 EDT
Thanks to the following people who responded:

Karl Vogel 
Nate Itkin
Stuart Whitby
Kevin Buterbaugh
Larye D. Parkins 
Matt Harris
Ric Anderson
Dave Foster
Michael Schulte 
Casper Dik
Frank Smith

* * * *  Original Question * * * *

Date: Tue, 22 Oct 2002 11:54:37 -0700 (PDT) 
From: "James Greer" <> | This
is Spam | Add to Address Book 
Subject: Maximum subdirectories in a directory 


Can anyone tell me what the maximum allowable
subdirectories are in a Solaris directory? Also, is
this number predicated on version (Solaris 2.6, 7, 8
or 9), kernel parameters or other settings or is it
simply an operating system default?

A user asked me this and, search as I might, I
couldn't find a solid answer.  So, for example, if I
have a directory called /james off the root directory,
what's the maximum number of subdirectories I can have
off of /james?

Will summarize.  Thanks.


* * * * Summary * * * *

I'm sorry to report that the consensus was that
there's no consensus.

The bulk of respondents say that the maximum number of
subdirectories is 32,767/32,768.  Other said that it
was dependent on the number of inodes left in the
filesystem, while some thought it was in the millions
of subdirectories if not unlimited.

So, I have it narrowed down to 32,767 and infinity.

Thanks to all! 

Y! Web Hosting - Let the expert host your web site
sunmanagers mailing list
Received on Sat Oct 26 19:33:23 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:56 EST