Linux-kernel mailing list archive 2000-32,: Re: limit number of subdirectoies

# Re: limit number of subdirectoies

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Dave Cecil: "Can't get sysrq working in 2.2.12 kernel"
- Previous message: Miles Lane: "2.4.0-test6-pre6 -- unresolved symbols in 3c59x.o, ppp_generic.o,"

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/

- Next message: Dave Cecil: "Can't get sysrq working in 2.2.12 kernel"
- Previous message: Miles Lane: "2.4.0-test6-pre6 -- unresolved symbols in 3c59x.o, ppp_generic.o,"