[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How many files can be put in one directory?



On Thu, 2002-06-20 at 10:32, Q. Gong wrote:
> A general question: what's the maximum number of files located in one
> directory?

As many as you want... but accessing them will get slower when more
files are placed in a directory.

I don't know the exact numbers from mind, but files (directory entries)
are placed in i-nodes. There is a limited number of space in these
i-nodes, when it fils up there will be pointers to new i-nodes that
contain more files for this directory.

The more files... the slower accessing them gets...

-- 
Mark Janssen -- maniac(at)maniac.nl -- GnuPG Key Id: 357D2178
Unix / Linux, Open-Source and Internet Consultant @ SyConOS IT
Maniac.nl Unix-God.Net|Org MarkJanssen.org|nl SyConOS.com|nl

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: