Date: Wed, 19 Nov 2008 00:24:28 -0500 From: Dan <dan-freebsd-fs@ourbrains.org> To: freebsd-fs@freebsd.org Subject: (no subject) Message-ID: <20081119052428.GC4136@ourbrains.org>
next in thread | raw e-mail | index | archive | help
A recent question came up about huge numbers of files in one directory. Well, some people actually have to deal with it on the job: http://leaf.dragonflybsd.org/mailarchive/kernel/2008-11/msg00070.html An FS doesn't have to be designed such that file look-ups take a very long time to search when directories are large. When a nice hash is used as part of the FS design, the time to search for 1 in a 100 files or 2 billion is the same. I view it as a feature. I can imagine a few cases where a large, non-human-readable directory is used to store many files. When developers know they have this feature at hand, they might as well use it. FS-based databases, image/sound editing, etc.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081119052428.GC4136>