Comparison of file and directory name on different operating systems

From LemonWiki共筆
Revision as of 17:19, 13 October 2019 by Planetoid (talk | contribs)
Jump to: navigation, search

Windows NTFS (New Technology File System) on Win Os windows.png

  • 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 Os mac.png

  • Max. filename length: 255 characters[3][4]
  • Maximum path characters: 1024
  • Case sensitive: yes
$ 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

Related articles