From owner-freebsd-questions Mon Sep 7 13:47:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA02368 for freebsd-questions-outgoing; Mon, 7 Sep 1998 13:47:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA02362 for ; Mon, 7 Sep 1998 13:47:26 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id NAA21928; Mon, 7 Sep 1998 13:47:18 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <35F44655.C742952@dal.net> Date: Mon, 07 Sep 1998 13:47:17 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE-0905 i386) MIME-Version: 1.0 To: gary.hall@mcg-graphics.com CC: FreeBSD Questions Subject: Re: Limit to number of files in a directory References: <35F3F483.AE59329F@mcg-graphics.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gary Hall wrote: > > Is there any limit to the number of files that can be stored in a > directory in FreeBSD ? > > We intend to use our FreeBSD machine as an FTP server to store images of > > jobs on and estimate somewhere in the area of a million in a single > directory. > > Would this cause a problem ? To my knowledge it shouldn't cause a problem for the system, but it will be extremely slow to access information about it through tools like ls. Is there any reason not to break the images down into directories? That will make it easier for humans to keep track of too. Also, if the images are less than 8k you will want to build a special file system for that directory with an inode size that takes that into account. Otherwise you will run out of inodes on that file system long before you run out of disk space. Good luck, Doug -- *** Chief Operations Officer, DALnet IRC network *** At Barry (a small town in south Wales) hidden cameras have had to be installed to keep watch on the town's CCTV [Closed Circuit Television] to record acts of vandalism against the CCTV. - Privacy Forum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message