Comparison of file and directory name on different operating systems: Difference between revisions
Jump to navigation
Jump to search
(Created page with " Windows [https://en.wikipedia.org/wiki/NTFS NTFS (New Technology File System)] on {{Win}} * Max. filename length: 255 characters<ref>[https://docs.microsoft.com/en-us/windows...") |
No edit summary |
||
Line 1: | Line 1: | ||
Windows [https://en.wikipedia.org/wiki/NTFS NTFS (New Technology File System)] on {{Win}} | Windows [https://en.wikipedia.org/wiki/NTFS NTFS (New Technology File System)] on {{Win}} | ||
* | * Maximum filename length: 255 characters<ref>[https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#targetText=For%20example%2C%20the%20older%20MS,as%20an%208.3%20file%20name. Naming Files, Paths, and Namespaces - Windows applications | Microsoft Docs]</ref> | ||
* Maximum path characters: | |||
* Case sensitive: allowed to be case sensitive after "Windows 10 April 2018 Update (version 1803)"<ref>[https://www.windowscentral.com/how-enable-ntfs-treat-folders-case-sensitive-windows-10 How to enable NTFS support to treat folders as case sensitive on Windows 10 | Windows Central]</ref> | * Case sensitive: allowed to be case sensitive after "Windows 10 April 2018 Update (version 1803)"<ref>[https://www.windowscentral.com/how-enable-ntfs-treat-folders-case-sensitive-windows-10 How to enable NTFS support to treat folders as case sensitive on Windows 10 | Windows Central]</ref> | ||
macOS Mojave on {{Mac}} | macOS Mojave on {{Mac}} | ||
* Max. filename length: 255 characters<ref>[https://apple.stackexchange.com/questions/86611/does-os-x-enforce-a-maximum-filename-length-or-character-restriction macos - Does OS X enforce a maximum filename length or character restriction? - Ask Different]</ref><ref>[https://discussions.apple.com/thread/148395#targetText=Most%20parts%20of%20OS%20X,most%20cases%20means%201%2C024%20characters. Filename Character Limit? - Apple Community]</ref> | * Max. filename length: 255 characters<ref>[https://apple.stackexchange.com/questions/86611/does-os-x-enforce-a-maximum-filename-length-or-character-restriction macos - Does OS X enforce a maximum filename length or character restriction? - Ask Different]</ref><ref>[https://discussions.apple.com/thread/148395#targetText=Most%20parts%20of%20OS%20X,most%20cases%20means%201%2C024%20characters. Filename Character Limit? - Apple Community]</ref> | ||
* Maximum path characters: 1024 | |||
* Case sensitive: yes | * Case sensitive: yes | ||
<pre> | <pre> | ||
Line 13: | Line 15: | ||
#define PATH_MAX 1024 | #define PATH_MAX 1024 | ||
</pre> | </pre> | ||
Linux e.g. EX4 | |||
* Max. filename length: 255 | |||
* Maximum path characters: 4096<ref>[https://unix.stackexchange.com/questions/32795/what-is-the-maximum-allowed-filename-and-folder-size-with-ecryptfs#targetText=Linux%20has%20a%20maximum%20filename,write%20data%20to%20the%20disk. What is the maximum allowed filename (and folder) size with eCryptfs? - Unix & Linux Stack Exchange]</ref> | |||
* Case sensitive: yes | |||
References | References | ||
Revision as of 17:19, 13 October 2019
Windows NTFS (New Technology File System) on Win
- Maximum filename length: 255 characters[1]
- Maximum path characters:
- Case sensitive: allowed to be case sensitive after "Windows 10 April 2018 Update (version 1803)"[2]
macOS Mojave on Mac
$ cc -dM -E -xc - <<< '#include <sys/syslimits.h>' | grep -i ' [NP]A.._MAX' #define NAME_MAX 255 #define PATH_MAX 1024
Linux e.g. EX4
- Max. filename length: 255
- Maximum path characters: 4096[5]
- Case sensitive: yes
References
- ↑ Naming Files, Paths, and Namespaces - Windows applications | Microsoft Docs
- ↑ How to enable NTFS support to treat folders as case sensitive on Windows 10 | Windows Central
- ↑ macos - Does OS X enforce a maximum filename length or character restriction? - Ask Different
- ↑ Filename Character Limit? - Apple Community
- ↑ What is the maximum allowed filename (and folder) size with eCryptfs? - Unix & Linux Stack Exchange
Related articles