文件系统的对比
限制

| 文件系统 | 最大文件名称长度 | 路径字符限制 | 最大路径名长度 | 最大文件大小 | 最大卷大小 |  |
| --- | --- | --- | --- | --- | --- | --- |
| Acorn ADFS | 10 bytes | Any ISO 8859-1 character except: SPACE $ & % @ \ ^ : . # * " ¦ | No limit defined | 7009409600000000000♠512 MB or 7010320000000000000♠4 GB | 7009409600000000000♠512 MB or 7010320000000000000♠4 GB |  |
| AdvFS | 226 characters | Any byte except NUL | No limit defined | 7014128000000000000♠16 TB | 7014128000000000000♠16 TB |  |
|  Apple DOS 3.x | 30 bytes | Any byte except NUL | 7001300000000000000♠30 B, no subdirectories (105 files per disk) | 未知 | 7006112000000000000♠140 kB DOS 3.3 (assuming standard 35 tracks) 7005910000000000000♠113.75 kB DOS 3.1, 3.2 |  |
| Apple ProDOS | 15 bytes | A-Z, a-z, 0-9, and period | 64 B, including slashes | 7008128000000000000♠16 MB | 7008256000000000000♠32 MB |  |
| BFS | 255 bytes | Any byte except NUL | No limit defined | 7012208000000000000♠260 GB | 7000200000000000000♠2 EB |  |
| Btrfs | 255 bytes | Any byte except NUL | 未知 | 7001160000000000000♠16 EB | 7001160000000000000♠16 EB |  |
| CBM DOS | 16 bytes | Any byte except NUL | Non-hierarchical | 7008128000000000000♠16 MB | 7008128000000000000♠16 MB |  |
| CP/M file system | 8.3 | any byte except: SPACE < > . , ; : = ? * [ ] % | ( ) / \ | 16 "user areas", no subdirectories | 7007640000000000000♠8 MB | 7007640000000000000♠8 MB to 512 MB |  |
| DECtape | 6.3 | A–Z, 0–9 | DTxN:FILNAM.EXT = 15 | 7005369280000000000♠369280 B (577 * 640) | 7005369920000000000♠369920 B (578 * 640) |  |
| DOS (GEC) | 8 bytes | A–Z, 0–9 | Non-hierarchical | 7008512000000000000♠64 MB | 7008512000000000000♠64 MB |  |
| Elektronika BK tape format | 16 bytes | 未知 | Non-hierarchical | 7005512000000000000♠64 kB | 7006640000000000000♠800 kB (approx) per side for 90 min cassette (limited only by tape length) |  |
| exFAT | 255 characters | Any Unicode except NUL | No limit defined | 7002127000000000000♠127 PB | 7001640000000000000♠64 ZB, 512 TB recommended |  |
| ext2 | 255 bytes | Any byte except NUL and / | No limit defined | 7013160000000000000♠2 TB | 7014256000000000000♠32 TB |  |
| ext3 | 255 bytes | Any byte except NUL and / | No limit defined | 7013160000000000000♠2 TB | 7014256000000000000♠32 TB |  |
| ext3cow | 255 bytes | Any byte except NUL, / and @ | No limit defined | 7013160000000000000♠2 TB | 7014256000000000000♠32 TB |  |
| ext4 | 255 bytes | Any byte except NUL and / | No limit defined | 7014128000000000000♠16 TB | 7000100000000000000♠1 EB |  |
| TexFAT | 247 characters | Any Unicode except NUL | No limit defined | 7010160000000000000♠2 GB | 7012400000000000000♠500 GB Tested |  |
| F2FS | 255 bytes | 未知 | 未知 | 7013315200000000000♠3.94 TB | 7014128000000000000♠16 TB |  |
| FAT12 | 8.3 (255 UCS-2 code units with VFAT LFNs) | Any byte except for values 0-31, 127 (DEL) and: " * / : < > ? \ | + , . ; = [] (lowcase a-z are stored as A-Z). With VFAT LFN any Unicode except NUL | No limit defined | 7008256000000000000♠32 MB (7009204800000000000♠256 MB) | 7008256000000000000♠32 MB (7009204800000000000♠256 MB with 4K sectors and 64 KB clusters) |  |
| FAT16 | 8.3 (255 UCS-2 code units with VFAT LFNs) | Any byte except for values 0-31, 127 (DEL) and: " * / : < > ? \ | + , . ; = [] (lowcase a-z are stored as A-Z). With VFAT LFN any Unicode except NUL | No limit defined | 7010160000000000000♠2 GB (7010320000000000000♠4 GB with LFS) | 7010160000000000000♠2 GB or 4 GB |  |
| FAT32 | 8.3 (255 UCS-2 code units with VFAT LFNs) | Any byte except for values 0-31, 127 (DEL) and: " * / : < > ? \ | + , . ; = [] (lowcase a-z are stored as A-Z). With VFAT LFN any Unicode except NUL | No limit defined | 7010160000000000000♠2 GB (7010320000000000000♠4 GB with LFS) | 7013160000000000000♠2 TB (7014128000000000000♠16 TB) |  |
| FATX | 42 bytes | ASCII.  Unicode not permitted. | No limit defined | 7010160000000000000♠2 GB | 7010160000000000000♠2 GB |  |
| FFS | 255 bytes | Any byte except NUL | No limit defined | 7000800000000000000♠8 ZB | 7000800000000000000♠8 ZB |  |
| Fossil | 65535 bytes of UTF-8 characters | Any Unicode except 0-31 | No limit defined | 8 EB | 未知 |  |
| GFS | 255 | Any byte except NUL | No limit defined | 7000800000000000000♠8 EB | 7000800000000000000♠8 EB |  |
| IBM Spectrum Scale | 255 UTF-8 codepoints | Any byte except NUL and / | No limit defined | 7000800000000000000♠8 EB | 7000800000000000000♠8 YB (18 PB tested) |  |
| HAMMER | 未知 | 未知 | 未知 | 未知 | 7000100000000000000♠1 EB |  |
| HFS | 31 bytes | Any byte except : | Unlimited | 7010160000000000000♠2 GB | 7013160000000000000♠2 TB |  |
| HFS Plus | 255 UTF-16 code units | Any valid Unicode | Unlimited | 7000800000000000000♠8 EB | 7000800000000000000♠8 EB |  |
| High Sierra | 未知 | 未知 | 未知 | 未知 | - |  |
| HPFS | 255 bytes | Any byte except NUL | No limit defined | 7010160000000000000♠2 GB | 7013160000000000000♠2 TB |  |
| ISO 9660:1988 | Level 1: 8.3, Level 2 & 3: ~ 180 | Depends on Level | ~ 180 bytes? | 7010320000000000000♠4 GB (Level 1 & 2) to 8 TB (Level 3) | 7013640000000000000♠8 TB |  |
| ISO 9660:1999 | 未知 (207?) | 未知 | 未知 | 未知 | 未知 | 未知 |
| Joliet ("CDFS") | 64 Unicode characters | All UCS-2 code except * / \ : ; and ? | 未知 | 7010320000000000000♠4 GB (same as ISO 9660:1988) | 7013640000000000000♠8 TB (same as ISO 9660:1988) |  |
| Lanyard Filesystem | 255 bytes | Any byte except NUL and / | No limit defined | 7001640000000000000♠64 ZB | 7006102400000000000♠128 kB to 7001640000000000000♠64 ZB |  |
| LEAN | 4,068 bytes | case sensitive, in UTF-8 (any Unicode codepoint) | No limit defined | 7000800000000000000♠8 EB | 7000800000000000000♠8 EB |  |
| Level-D | 6.3 | A–Z, 0–9 | DEVICE:FILNAM.EXT[PROJECT,PROGRM] = 7 + 10 + 15 = 32; + 5*7 for SFDs = 67 | 7011192000000000000♠24 GB (34,359,738,368 words (235-1); 206,158,430,208 SIXBIT bytes) | 7010960000000000000♠12 GB (approx; 64 * 178 MB) |  |
| LTFS | 未知 | 未知 | 未知 | 未知 | 未知 |  |
| Lustre | 255 bytes | Any byte except NUL and / | No limit defined | 7001320000000000000♠32 PB (on ext4) | 7000100000000000000♠1 YB (55 PB tested) |  |
| JFS1 | 255 bytes | Any byte except NUL | No limit defined | 7000800000000000000♠8 EB | 7000400000000000000♠4 PB |  |
| JFS | 255 bytes | Any Unicode except NUL | No limit defined | 7000400000000000000♠4 PB | 7001320000000000000♠32 PB |  |
| MFS | 255 bytes | Any byte except : | No path (flat filesystem) | 7009180800000000000♠226 MB | 7009180800000000000♠226 MB |  |
| MicroDOS file system | 14 bytes | 未知 | 未知 | 7008128000000000000♠16 MB | 7008256000000000000♠32 MB |  |
| MINIX V1 FS | 14 or 30 bytes, set at filesystem creation time | Any byte except NUL | No limit defined | 7008512000000000000♠64 MB | 7008512000000000000♠64 MB |  |
| MINIX V2 FS | 14 or 30 bytes, set at filesystem creation time | Any byte except NUL | No limit defined | 7010320000000000000♠4 GB | 7009800000000000000♠1 GB, then 2 TB |  |
| MINIX V3 FS | 60 bytes | Any byte except NUL | No limit defined | 7010320000000000000♠4 GB | 7014128000000000000♠16 TB |  |
| NILFS | 255 bytes | Any byte except NUL | No limit defined | 7000800000000000000♠8 EB | 7000800000000000000♠8 EB |  |
| NSS | 226 characters | Depends on namespace used | Only limited by client | 7013640000000000000♠8 TB | 7013640000000000000♠8 TB |  |
| NTFS | 255 characters | Depends on namespace used | 32,767 Unicode characters with each path component (directory or filename) commonly up to 255 characters long | 7001160000000000000♠16 EB | 7001160000000000000♠16 EB |  |
| NWFS | 80 bytes | Depends on namespace used | No limit defined | 7010320000000000000♠4 GB | 7012800000000000000♠1 TB |  |
| OCFS | 255 bytes | Any byte except NUL | No limit defined | 7013640000000000000♠8 TB | 7013640000000000000♠8 TB |  |
| OCFS2 | 255 bytes | Any byte except NUL | No limit defined | 7000400000000000000♠4 PB | 7000400000000000000♠4 PB |  |
| ODS-5 | 236 bytes | 未知 | 4,096 bytes | 7013160000000000000♠2 TB | 7013160000000000000♠2 TB |  |
| OS4000 | 8 bytes | A–Z, 0–9 Period is directory separator | No limit defined | 7010160000000000000♠2 GB | 7009800000000000000♠1 GB (at least) |  |
| PramFS | 31 bytes | Any byte except NUL | 未知 | 7009800000000000000♠1 GB | 7000800000000000000♠8 EB |  |
| QFS | 255 bytes | Any byte except NUL | No limit defined | 7001160000000000000♠16 EB | 7000400000000000000♠4 PB |  |
| ReFS |  32,767 Unicode characters (255 Unicode characters in Windows 8/8.1) | 未知 |  32,767 Unicode characters in each path component | 7001160000000000000♠16 EB | 7000100000000000000♠1 YB with 64 kB cluster size (264 × 64 × 210). Windows stack addressing allows 16 EB |  |
| ReiserFS | 4,032 bytes/226 characters | Any byte except NUL | No limit defined | 7013640000000000000♠8 TB (v3.6), 2 GB (v3.5) | 7014128000000000000♠16 TB |  |
| Reiser4 | 3,976 bytes | Any byte except / and NUL | No limit defined | 7013640000000000000♠8 TB on x86 | 未知 |  |
| Reliance | 260 bytes | OS specific | 7002260000000000000♠260 B | 7010320000000000000♠4 GB | 7013160000000000000♠2 TB |  |
| Reliance Nitro | 1,024 bytes | OS specific | 1024 bytes | 7014256000000000000♠32 TB | 7014256000000000000♠32 TB |  |
| RT-11 | 6.3 | A–Z, 0–9, $ | Non-hierarchical | 7008256000000000000♠32 MB (65536 * 512) | 7008256000000000000♠32 MB |  |
| IBM SFS | 8.8 | 未知 | Non-hierarchical | 未知 | 未知 |  |
| UDF | 255 bytes | Any Unicode except NUL | 1,023 bytes | 7001160000000000000♠16 EB | 7013160000000000000♠2 TB (hard disk), 8 TB (optical disc) |  |
| UFS1 | 255 bytes | Any byte except NUL | No limit defined | 7015180800000000000♠226 TB | 7015180800000000000♠226 TB |  |
| UFS2 | 255 bytes | Any byte except NUL | No limit defined | 7001320000000000000♠32 PB | 7000100000000000000♠1 YB |  |
| V6FS | 14 bytes | Any byte except NUL and / | No limit defined | 7008128000000000000♠16 MB | 7013160000000000000♠2 TB |  |
| V7FS | 14 bytes | Any byte except NUL and / | No limit defined | 7009800000000000000♠1 GB | 7013160000000000000♠2 TB |  |
| VxFS | 255 bytes | Any byte except NUL | No limit defined | 7015204800000000000♠256 TB | 7015204800000000000♠256 TB |  |
| VMFS2 | 128 | Any byte except NUL and / | 2,048 | 7013320000000000000♠4 TB | 7014512000000000000♠64 TB |  |
| VMFS3 | 128 | Any byte except NUL and / | 2,048 | 7013160000000000000♠2 TB | 7014512000000000000♠64 TB |  |
| XFS | 255 bytes | Any byte except NUL | No limit defined | 7000800000000000000♠8 EB | 7000800000000000000♠8 EB |  |
| ZFS | 255 bytes | Any Unicode except NUL | No limit defined | 7001160000000000000♠16 EB | 7002256000000000000♠256 ZB |  |
| File system | Maximum filename length | Allowable characters in directory entries | Maximum pathname length | Maximum file size | Maximum volume size |  |