Re: max file count exfs2

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Sun Jan 23 2000 - 16:47:39 EST


"Gavin M. Roy" <gmr@nextpath.com> said:
> Does anyone know the max file count per directory for exfs2? I browsed
> through the source, but I didn't see any max's defined.

Essentially limited only by free space on disk.

> I have a
> project converting one text blob field in a db to individual files, and
> expect to need at least 1K files per directory. Any help is
> appreciated.

Bad idea. ext2 does a sequential scan of the directory when looking for a
file, so this will blow up on you. Organize your files in a tree of
directories (f.ex. by first character in name, or some hash function).

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:11 EST