From owner-freebsd-questions Thu Apr 2 02:58:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA20089 for freebsd-questions-outgoing; Thu, 2 Apr 1998 02:58:01 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA20045 for ; Thu, 2 Apr 1998 02:57:58 -0800 (PST) (envelope-from kpielorz@tdx.co.uk) Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.8.8/8.8.8) with ESMTP id LAA01175; Thu, 2 Apr 1998 11:57:48 +0100 (BST) (envelope-from kpielorz@tdx.co.uk) Message-ID: <35236F42.A345B4C@tdx.co.uk> Date: Thu, 02 Apr 1998 11:58:10 +0100 From: Karl Pielorz Organization: TDX X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Brent Washburne CC: freebsd-questions@FreeBSD.ORG Subject: Re: Number of files in a directory References: <3522DC20.4DD8EE56@excite.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have directories with about 8 to 9 thousand in, and although 'ls'ing takes a while, accessing the files quick... I guess it depends on what your doing with them... I would imagine someone running a news-server would be able to answer the question a little better - I seem to remember they hold thousands of files in single dir's... ;-) Regards, Karl Brent Washburne wrote: > > What is the maximum optimal number of files for a directory? Is > it in the tens, hundreds, or thousands? Thanks! > Brent Washburne > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message