Re: files/directory limit?
From: Nicholas Dronen (ndronen_at_io.frii.com)
Date: 09/16/03
- Next message: LAIX Software Consulting: "Re: Cat seems to prefix lp output with a 00."
- Previous message: Nicholas Dronen: "Re: Problem with syslog and perl"
- In reply to: Todd H.: "files/directory limit?"
- Next in thread: The Swordsman: "Re: files/directory limit?"
- Reply: The Swordsman: "Re: files/directory limit?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Sep 2003 23:24:22 GMT
Todd H. <comphelp@toddh.net> wrote:
TH> Is there a limit on the number of files that can be in a directory in
TH> AIX? If so, what is it? For bonus points, if anyone can point to
TH> where they document such goodies, I'd be most appreciative.
Since a directory is just a file with a certain bit set in its inode,
and with directory names and inodes stored in it as a table, I believe
the only limit on the number of directory entries is the limit on the
side of a file. May be wrong.
The real downside to having lots and lots of files in a directory is
the long time it takes to find files. A directory in JFS is nothing
but a stream of name/inode records. In JFS2, it's a b-tree, which
makes look-ups much faster.
Whether you use JFS or JFS2, it's generally poor style not to partition
a large directory into a number of smaller subdirectories.
Regards,
Nicholas
-- "Why shouldn't I top-post?" http://www.aglami.com/tpfaq.html "Meanings are another story." http://www.ifas.org/wa/glossolalia.html
- Next message: LAIX Software Consulting: "Re: Cat seems to prefix lp output with a 00."
- Previous message: Nicholas Dronen: "Re: Problem with syslog and perl"
- In reply to: Todd H.: "files/directory limit?"
- Next in thread: The Swordsman: "Re: files/directory limit?"
- Reply: The Swordsman: "Re: files/directory limit?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|