sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #51617
Re: max antal filer i et ext3 dir ?
Frank Vestergaard Pedersen <frank@xxxxxxxxxx> writes:
> Hvor mange filer kan et dir mountet på en ext3 partition max indeholde ?
Fra /usr/src/linux/Documentation/filesystems/ext2.txt, afsnitet
'Limitations':
There is an upper limit of 32768 subdirectories in a single directory.
There is a "soft" upper limit of about 10-15k files in a single
directory with the current linear linked-list directory
implementation. This limit stems from performance problems when
creating and deleting (and also finding) files in such large
directories. Using a hashed directory index (under development)
allows 100k-1M+ files in a single directory without performance
problems (although RAM size becomes an issue at this point).
The (meaningless) absolute upper limit of files in a single
directory (imposed by the file size, the realistic limit is
obviously much less) is over 130 trillion files. It would be higher
except there are not enough 4-character names to make up unique
directory entries, so they have to be 8 character filenames, even
then we are fairly close to running out of unique filenames.
--
Peter Makholm | Emacs is the only modern general-purpose
peter@xxxxxxxxxxx | operating system that doesn't multitask
http://hacking.dk |
References