From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 19:54:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FEB7106564A for ; Sun, 9 Nov 2008 19:54:17 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id C1AC08FC1C for ; Sun, 9 Nov 2008 19:54:16 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:61932 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KzGMR-0005Xo-3u for freebsd-questions@freebsd.org; Sun, 09 Nov 2008 20:54:15 +0100 Received: (qmail 52636 invoked from network); 9 Nov 2008 20:54:14 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 9 Nov 2008 20:54:14 +0100 Received: (qmail 90883 invoked by uid 1001); 9 Nov 2008 20:54:14 +0100 Date: Sun, 9 Nov 2008 20:54:14 +0100 From: Erik Trulsson To: freebsd-questions@freebsd.org Message-ID: <20081109195414.GA90867@owl.midgard.homeip.net> References: <50261.1226194851@people.net.au> <20081109152835.N49145@wojtek.tensor.gdynia.pl> <18711.2431.464472.977892@jerusalem.litteratus.org> <20081109165314.GA89995@owl.midgard.homeip.net> <20081109174851.GB5146@ourbrains.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081109174851.GB5146@ourbrains.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1KzGMR-0005Xo-3u. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KzGMR-0005Xo-3u 72e4bfe31abe1a6d6fda4aac58465bd6 Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 19:54:17 -0000 On Sun, Nov 09, 2008 at 12:48:51PM -0500, Dan wrote: > Erik Trulsson(ertr1013@student.uu.se)@2008.11.09 17:53:14 +0100: > > Personally I cannot think of any situation where one would actually want > > (let alone need) as many as 30000 or more subdirectories in a single > > directory. > > I've seen some Java apps that use the FS as the DB. Nothing wrong with > that. I think an FS can be quite a good DB, if implemented well. This gives > many data manipulation options with traditional FS tools, shell > scripts, etc. Lets just say that there are reasons why the major database systems generally use their own methods to store and organize the data rather than rely on the file system for that. Besides, for most database applications I can think of, what you would need are lots of *files*, which do not have any special limitations other than the the total space and number of i-nodes on the filesystem. Even if you were using the FS as a DB I can't think of any good reason to need 30000+ subdirectories in a single directory. > > Large Maildirs for postfix and qmail/Courier. Some people don't delete > email at all. Again, that requires lots of files, not lots of subdirectories. -- Erik Trulsson ertr1013@student.uu.se