hello everyone,
Does anybody know theoreticaly how many files can there be on ext2 fs in one directory, on on fat32 filesystem in one directory ?
bartek
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]
szajtan odwieczny wrote:
hello everyone,
Does anybody know theoreticaly how many files can there be on ext2 fs in one directory, on on fat32 filesystem in one directory ?
bartek
no limit as long as you do not exceed disk's capacity. if you encounter problems this is because of the soft reading directory content, not ext2 itelf.
pozdr - michal