It is very dependent on the file system. For ext FS (currently most commonly used on Linux):
- max file name length: 255 bytes
- maximum path length: none
The extension is not something FS knows, it contains 255 bytes, the extension is added (you can have file names without any extensions).
Here is a more comprehensive list of these limits, for FS.
There may also be extensions on the file system that can also change the maximum length. For example, eCryptFS, which uses part of a lower file name to store metadata and limits the file name to a maximum length of 143 characters. See the launch tab of Ubuntu eCryptFS .
e-satis Jul 04 2018-11-12T00: 00Z
source share