Home/Forum archive/What is the maximum amount of files and maximum amount of folders within one folder?Forum archiveWhat is the maximum amount of files and maximum amount of folders within one folder?SupportIn the turnkey core?Replies (3)depends on the filesystemReply 1 2012-12-13in theory with EXT4, the default, you can have an unlimited number of subdirectories and files. The limit is on the entire filesystem. In reality, it is controlled by the size of the inode table. run 'df -i' to see the inode tables for your specific system. Mine shows: Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/turnkey-root 864960 52839 812121 7% / tmpfs 129302 4 129298 1% /lib/init/rw udev 128098 494 127604 1% /dev tmpfs 129302 1 129301 1% /dev/shm /dev/sda1 124496 207 124289 1% /boot which means I can have ~864000 files in my root filesystem.so you can theoretically haveReply 2 2012-12-13so you can theoretically have one subdirectory with 864000 files/directories inside it on your system?That is correct.Reply 3 2012-12-13theoretically, yes.
depends on the filesystemReply 1 2012-12-13in theory with EXT4, the default, you can have an unlimited number of subdirectories and files. The limit is on the entire filesystem. In reality, it is controlled by the size of the inode table. run 'df -i' to see the inode tables for your specific system. Mine shows: Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/turnkey-root 864960 52839 812121 7% / tmpfs 129302 4 129298 1% /lib/init/rw udev 128098 494 127604 1% /dev tmpfs 129302 1 129301 1% /dev/shm /dev/sda1 124496 207 124289 1% /boot which means I can have ~864000 files in my root filesystem.
so you can theoretically haveReply 2 2012-12-13so you can theoretically have one subdirectory with 864000 files/directories inside it on your system?
in theory with EXT4, the default, you can have an unlimited number of subdirectories and files. The limit is on the entire filesystem.
In reality, it is controlled by the size of the inode table. run 'df -i' to see the inode tables for your specific system. Mine shows:
Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/turnkey-root 864960 52839 812121 7% / tmpfs 129302 4 129298 1% /lib/init/rw udev 128098 494 127604 1% /dev tmpfs 129302 1 129301 1% /dev/shm /dev/sda1 124496 207 124289 1% /boot