Linux Ext2 filesystem

Updated: May 06, 2022

The limits for Linux Ext2 filesystems include:

Filename length
255 bytes.
Pathname length
1024 bytes, not including the mountpoint or the terminating NUL.
File size
2 GB − 1.
Directory size
2 GB − 1; directories are files with inode and filename information as data.
Filesystem size
2 GB × 512.
Disk size
264 bytes; limited by the disk driver.