I'm trying to come up with a conclusive list of rules of what is illegal in naming conventions for OSes that can run node.js.
So far from reading many resources and similar questions on the internet this is what I found:
illegal characters anywhere in the name:
- windows_nt - /?<>\,:*|"
- Linux - /
- Darwin - / and maybe : ? (some say it's allowed on OS X but some says it's not, not really clear to me)
illegal names:
windows_nt - CON, PRN, AUX, CLOCK$, NUL, COM1-9, LPT1-9 (some other device names were not included because they're illegal only on old dos distributions and node.js is not available for them)
Linux -
Darwin -
illegal trailing characters:
windows_nt - . (dot) and (space)
Linux -
Darwin -
illegal leading characters:
windows_nt -
Linux -
Darwin -
max file/dir name length:
windows_nt -
Linux -
Darwin -
max path length:
windows_nt -
Linux -
Darwin -
I would be glad if you could help me fill the gaps here of the rules set. Also, only OSes capable of running node.js should be taken into account.