Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how many files can a disk hold?

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)

Posted on Mar 5, 2013 2:48 PM

Reply
Question marked as Best reply

Posted on Mar 5, 2013 2:54 PM

HFS+ file limit is 4,294,967,295 (232-1)


Allan

2 replies

how many files can a disk hold?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.