NTG Re: files,files,files

Tomasz Laczkowski tomlacz w go2.pl
Czw, 20 Mar 2003, 00:05:20 CET


Dnia śro 19. marzec 2003 22:52, szajtan odwieczny napisal(a):
> Does anybody know theoreticaly how many files can there be on ext2 fs
> in one directory, on on fat32 filesystem in one directory ?

On ext2 it depends on partition size. There is limited number of inodes 
(=files, links, directories...) for a whole partition not for a single 
directory. Do as a root:
dumpe2fs /dev/hd?? | head -35
and you will see. Look for inode count and free inodes.
Usually number of inodes=blocks/2 or blocks/4 and a block is 4096B.
On FAT32 there is also limit for whole drive and not for single directory 
(on FAT16 there was a limit for a root directory=512). It depends on 
total number of clusters.

Do you need so many files in one directory? It may slow down the reading.

[TL]

 


Więcej informacji o liście Shape-univ