The limits for Linux Ext2 filesystems include:
- Filename length
- 255 bytes.
- Pathname length
- 1024 bytes, not including the mountpoint or the terminating NUL.
- Block size
- 1 KB − 4 KB.
- File size
- 16 GB − 2 TB, depending on the block size.
- Directory size
- 16 GB − 2 TB, depending on the block size; directories are files with inode and filename information as data.
- Filesystem size
- 4 TB − 16 TB.
- Disk size
- 264 bytes; limited by the disk driver.