le nombre max de répertoire par répertoire dépend du système de fichier.
Une petit recherche sur google avec les mots clefs "32000 directory ext2" et je tombe sur ça http://e2fsprogs.sourceforge.net/extensions-ext23/
extrait :
--
Another limitation imposed by the current inode field sizes is the use of a 16 bits for i_links_count, which limits the number of subdirectories that can be created in a single directory. The actual limit of 32,000 is smaller than what is possible with an unsigned 16-bit field, but even if the kernel were changed to allow 65,535 subdirectories, this would be too small for some users or applications.
# ext2 ?
Posté par gaaaaaAab . En réponse au message Erreur sur mkdir : limite sur le nb de dossier au même niveau ?. Évalué à 2.
Une petit recherche sur google avec les mots clefs "32000 directory ext2" et je tombe sur ça http://e2fsprogs.sourceforge.net/extensions-ext23/
extrait :
--
Another limitation imposed by the current inode field sizes is the use of a 16 bits for i_links_count, which limits the number of subdirectories that can be created in a single directory. The actual limit of 32,000 is smaller than what is possible with an unsigned 16-bit field, but even if the kernel were changed to allow 65,535 subdirectories, this would be too small for some users or applications.