[Ilugc] Limit on Sub-folders / Files in Linux
- From: sbharathi@xxxxxxxxxxxxx (Bharathi Subramanian)
- Date: Mon Mar 31 15:51:08 2008
On Mon, 31 Mar 2008, Joe Steeve wrote:
I heard that the number of sub-folders / files in a linux
directory should not exceed 32,000.
But honestly, 32000 subfolders in the same level sounds scary to me.
I hope, the limit is hardcoded in the FS header files.
$ grep 32000 /usr/include/linux/*
ext2_fs.h:#define EXT2_LINK_MAX 32000
ext3_fs.h:#define EXT3_LINK_MAX 32000
ufs_fs.h :#define UFS_LINK_MAX 32000
Bye :)
--
Bharathi S
Other related posts: