James wrote:

> just for compatabilities sake, what's the maximum number of directory
> entries (is it infinite?)

No, the directory entry only allows 32 bits for the inode number, so
you're limited to ~4E9 entries.

> i've picked 255 for no good reason, this sound sane?

Nope. If you want to read the entire contents of a directory into
memory, you should either use linked lists, or realloc().

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to