Practical no. of files per dir was: [OpenAFS] Max number of files in volume?

David Thompson thomas@cs.wisc.edu
Fri, 14 May 2004 10:38:09 -0500


Derek Atkins wrote:
>Derrick J Brashear <shadow@dementia.org> writes:
>
>>> Anyone know if I'll hit any limits (eg, are the AFS directories searched
>>> linearly, or is there an index?)
>>
>> There's a per-directory limit. Todd DeSantis explained the math, you'll
>> have to search the archives to find the message. Basically, it's not a
>> fixed number, it depends how large the filenames are.
>
>ISTR a number around 64K

There are ~64k 16-byte directory slots.  Your file name uses up one or more 
slots, depending on its length.

Dave