Re: UFS2 limits



On Sun, Nov 09, 2008 at 12:33:06PM -0600, Modulok wrote:
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.

"No one will ever need more than 640K of memory!"

Not quite the same thing. One major problem with having lots of entries in
a directory is for humans using it (who have not become significantly
faster or more capable over the recent decades.) Having lots of entries in
a single directory is simply very unwieldy. There are is a reason why
people invented hierarchichal files systems with directories and
sub-directories, you know.

For those situations where the directory is not intended to be looked at by
a human, but only by programs, then there are more efficient ways of storing
the data if you need that many entries. (A real database system, for
example.)


Besides, most (all?) of the situations where one might concievably want many
entries in a single directory, what one would usually want is lots of files,
not lots of sub-directories - once you start using sub-directories, you
might as well use more than a single level of them.






--
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@xxxxxxxxxxxxx
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • FIle Limit Problem
    ... I can not generate folders with more than about 9500 ... putting that many files in a single directory.) ... directories with <9500 entries. ...
    (microsoft.public.windowsxp.general)
  • Re: Max size of a directory
    ... can I put all 2622 of these files in a single directory? ... you can have 64K entries in a directory. ... In the NTFS system there is no per-directory limit. ... Tim Slattery ...
    (microsoft.public.windowsxp.general)
  • Re: Why is KDE 4 so messed up?
    ... because I recall that was badly organised to put all entries of ... a genre into a single directory. ... for those separate files, it isn't easy to reorganize into some sort ...
    (alt.os.linux.suse)
  • Re: maximum
    ... > what's the maximum number of items for a single directory? ... For FAT32, it 64K entries. ... folders with long file names use multiple entries. ...
    (microsoft.public.windowsxp.general)
  • Re: Accessing disks via their serial numbers.
    ... sub-directories which would hold the more arbitrary (or ... has a separate /devices filesystem for this: all entries are dynamic, ... so the filesystem is strictly readonly from a userland point of view. ...
    (freebsd-arch)