[CentOS] question about directory size in linux..

Gordon Messmer gordon.messmer at gmail.com
Thu Feb 23 03:33:13 UTC 2017


On 02/22/2017 07:02 PM, John R Pierce wrote:
>> Without knowing what the OP's file system but assuming he too is 
>> using EXT4, what would the directory be storing that's so different 
>> from mine? 
>
> a bajillion small files vs a few large ones. 


Not to be pedantic, but the size of a directory has nothing to do with 
the size of the files it contains.  It doesn't matter if they're small 
files or large ones.  The only thing that matters is the number of 
filenames in the directory, and possibly the length of those file names.




More information about the CentOS mailing list