Are there any filename or path length limits on Linux?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
http://en.wikipedia.org/wiki/Comparison_of_file_systems See the section called "limits" |
|||||
|
|
There I've read that path length limit is in system headers. File name lenght limit is there too. On my system its file
and C-lang defines:
and some more. |
|||||
|
|
And for the sake of saving time (and anchoring it to memory): ext2, ext3, ext4, zfs: no pathname limits; 255 bytes filename limit. |
||||
|
|
|
Those are file system name lengths. "linux" itself has some too. For instance, from bits/stdio_lim.h:
|
|||||||||||||
|