Changes

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..."

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/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>
* 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}}
* 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>
* Case sensitive: yes
<pre>
$ cc -dM -E -xc - <<< '#include <sys/syslimits.h>' | grep -i ' [NP]A.._MAX'

#define NAME_MAX 255
#define PATH_MAX 1024
</pre>
References

<references />

Related articles

* [https://en.wikipedia.org/wiki/Comparison_of_file_systems Comparison of file systems - Wikipedia] / [https://zh.wikipedia.org/zh-tw/%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E7%9A%84%E5%AF%B9%E6%AF%94 檔案系統的對比]
* [https://en.wikipedia.org/wiki/Case_preservation Case preservation - Wikipedia]
* [https://www.comentum.com/File-Systems-HFS-FAT-UFS.html File Systems - HFS+, UFS, FAT32 and NTFS, Operating Systems, Maximum Characters Allowed Comparison]

[[Category:Software]]

Navigation menu