From owner-freebsd-hackers Thu Jun 22 0:30: 8 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 6962D37B565 for ; Thu, 22 Jun 2000 00:29:59 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id JAA09401; Thu, 22 Jun 2000 09:31:15 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200006220731.JAA09401@info.iet.unipi.it> Subject: Re: How many files can I put in one diretory? In-Reply-To: from "Nicole Harrington." at "Jun 21, 2000 11:42:37 pm" To: "Nicole Harrington." Date: Thu, 22 Jun 2000 09:31:15 +0200 (CEST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hello > I have a user who needs to store a large amount of small html files. Like > around 2 million... 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. cheers luigi > Assuming FreeBSD 4.0-Stable with Soft Updates, what is a sane number that can > be handled per directory? > > > Thanks!! > > Nicole > > > > > nicole@unixgirl.com |\ __ /| (`\ http://www.unixgirl.com/ > webmistress@dangermouse.org | o_o |__ ) ) http://www.dangermouse.org/ > // \\ > ---------------------------(((---(((----------------------------------------- > > -- Powered by Coka-Cola and FreeBSD -- > -- Strong enough for a man - But made for a Woman -- > -- OWNED? MS: Who's Been In/Virused Your Computer Today? -- > > ------------------------------------------------------------------------------- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message