Apple Macintosh HFS and HFS Plus

Updated: April 19, 2023

The limits for the Apple Macintosh HFS (Hierarchical File System) and HFS Plus include:

Filename length
31 MacRoman characters on HFS; 255 bytes (Unicode) on HFS Plus.
Pathname length
1024 bytes, not including the mountpoint or the terminating NUL.
Disk size
This filesystem uses a 32-bit block address, but the filesystem is 64-bit (> 4 GB). We don't allow the creation of anything via fs-mac.so; it's read-only.