2 Replies Latest reply: Mar 5, 2013 2:55 PM by Kurt Lang
Peter Wadsack Level 1 Level 1

What is the limit on the number of files in a directory?  On the number of subdirectories in a directory?  How deep can the directory tree go?


I was stress-testing a new hard drive, by simply having bash write files to the drive, and the system crashed somewhere around 93 million files, after consuming about a quarter of the 2TB drive.


Obviously, no one would want 93 million files in a directory [pity Finder!] but it did get me wondering.

Mac OS X (10.6.8)
Solved by Kurt Lang on Mar 5, 2013 2:55 PM Solved
Reply by Allan Eckert on Mar 5, 2013 2:54 PM Helpful
HFS+ file limit is 4,294,967,295 (232-1) Allan

All replies