Hi All,
I want to know is there any limit on subfolders within folder in Linux and windows?
can any one provide information on how many subfolders can be created in one folder?
Thanks in advance for any input.
Hi All,
I want to know is there any limit on subfolders within folder in Linux and windows?
can any one provide information on how many subfolders can be created in one folder?
Thanks in advance for any input.
If you are using ext3
in Linux, the limit is explained by Wikipedia:
There is a limit of 31998 sub-directories per one directory, stemming from its limit of 32000 links per inode.
For FAT16 filesystems (mostly irrelevant these days, but still default on some USB mass storage / memory card devices) there is a limit of 512 directory entries in the root directory.
This can be less than 512 files/folders when long filenames are used.
Sub-folders do not have this problem.
The number of possible directories/sub folders is limited by the number of inodes for the file system. In ext3, for example, it is typically V/2 where V is the volume size bytes. So there is no limit in how many nested levels you can go for folders.
However, the maximum number of sub directories in one directory, for ext3, is limited to around 32000.
These theoretical limits are all well and good but in reality you will see serious performance problems with too many folders or files in a single folder under fat, ntfs or ext3 anyway. You wouldn't really want more than about 10,000 in any single folder.