Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-13-2005, 07:27 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
how do you determine the max number files can be stored in a single directory on the

how do you determine the max number files can be stored in a single directory on the linux box?
Old 12-13-2005, 02:51 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Linux File System Quotas
Old 12-13-2005, 05:40 PM   #3
Registered: Aug 2002
Posts: 13,321

Rep: Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093
It depends on the filesystem.

With ext2/ext3 I first thought it was dependent on the number of inodes but after some searching I saw posts where the max was 2^15 (32768). reiserfs can handle 1.2 million files per directory and xfs is in the order of millions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to determine # files in a directory ElricM Linux - Newbie 9 01-24-2012 02:37 PM
Number of files in directory bullium Linux - General 13 08-31-2011 08:50 AM
SAMBA 3.04 - Max Files Per Directory? soopafresh Linux - Networking 0 11-29-2004 08:44 PM
max number of files on ext2 ext3? tim1235 Linux - Newbie 5 10-17-2004 06:11 PM
trying to determine the size of all files in a directory riddlebox80 Programming 7 06-11-2003 07:27 PM

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration