[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any problem with having 100,000 files
On Sat, Jun 01, 2002 at 05:07:57PM +0200, Dries Schellekens wrote:
> On Sat, 1 Jun 2002, J. Scott Edwards wrote:
>
> > Are there any problems with having 100,000 files or more on the OpenBSD
> > file system?
>
> If you don't put them into one directory, there will be no problem.
Directories are not gouverned by the same rules as files.
Because there is a hard link upper limit of 32767 in an inode for
the FFS file system.
All directories have a ".." file pointing back to their parent inode
[thus increasing the parent hard-link counter]. So there is a maximum
limit of 32676 directories in a single directory.
In the end, you must be more carefull about your directory creation
scheme than the number of files in a single directory.
>
>
> Cheers,
>
> Dries
> --
> Dries Schellekens
> email: gwyllion@ulyssis.org
--
Hugo Villeneuve <hugo@EINTR.net>
http://EINTR.net/