Re: limit number of subdirectoies

Junjiro Okajima (j-okajim@nskli014.nsk.nis.nec.co.jp)
Mon, 07 Aug 2000 15:06:20 +0900


ysert@turkport.net:
> 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...

Incredible number.

This limit comes from link count of ext2fs's.
You can change the definition of EXT2_LINK_MAX in
include/linux/ext2fs.h upto 32765 since struct inode.i_nlink is
unsigned short, and recompile your kernel.
But another normal kernel will not operate such too many linked files
and directories.

Junjiro Okajima

-
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/