Krishna P | 28 Mar 16:50
Picon

Re: Limit on Sub-folders / Files in Linux

On Fri, Mar 28, 2008 at 11:40 AM, senthilraja P <technocraze@...>
wrote:

> Hi,
>
> I heard that the number of sub-folders / files in a linux directory should
> not exceed 32,000 . There is not enough material available in the net.

Yes, you are right, it is not allowing to create more than 32000 subfolders.
This is what I tried
-bash-2.05b#  for ((  i = 0 ;  i <= 32001;  i++  )); do mkdir test$i; done
at the end around 3199x count i got the message,
"cannot create directory `last': Too many links"

I used http://linuxzoo.net/  Fedora image as my test machine,

Bye,
Krishna.
_______________________________________________
To unsubscribe, email ilugc-request@... with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Gmane