3 ms·
> Are there limits to the number of files a directory can hold? Yes, depending on the file system. For example, ext4 with default settings uses 32-bit hashes.
by nh2 6y ago
> Are there limits to the number of files a directory can hold?
Yes, depending on the file system.
For example, ext4 with default settings uses 32-bit hashes. Upon the first collision, you can no longer add more files to the directory (ENOSPC error).
Source: https://blog.merovius.de/2013/10/20/ext4-mysterious-no-space-left-on.html#do-you-have-dir_index-enabled https://blog.merovius.de/2013/10/20/ext4-mysterious-no-space...