Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 17:11:46 +0930 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Luigi Rizzo <luigi@info.iet.unipi.it>
Cc:        hackers@FreeBSD.ORG, "Nicole Harrington." <nicole@unixgirl.com>
Subject:   Re: How many files can I put in one diretory?
Message-ID:  <XFMail.000622171146.doconnor@gsoft.com.au>
In-Reply-To: <200006220731.JAA09401@info.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help

On 22-Jun-00 Luigi Rizzo wrote:
>  that sounds insane! Because a name is a name, why dont they call
>  those files xx/yy/zz/tt.html and the like, to get down to a more
>  reasonable # of files per directory.
>  
>  Or use a single file and a cgi which extracts things from the right place.
>  In such a context, i assume that the best place to do the name lookup
>  is in the app, not in the kernel.

Yeah.. This is why databases where invented :)

FYI 40000 in a directory really makes directory listings slow.. 2 million would
suck :)

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000622171146.doconnor>