Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

FAT filesystem restricted characters and filenames
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: FAT filesystem restricted characters and filenames
  • SDP: 6.4.1
  • Target: Any supported target
________________________________________________________________________

Recommendation
________________________________________________________________________

At a basic level the rules for filename creation are described in the QNX documentation here:
http://www.qnx.com/developers/docs/6.4.1/neutrino/sys_arch/fsys.html#DOSFSYS

A quite comprehensive covering of supported filenames is mentioned in the docs here:
http://www.qnx.com/developers/docs/6.4.1/neutrino/user_guide/fsystems.html#DOS
Where it says:
-----
For information about valid characters for filenames in a DOS filesystem, see the Microsoft Developer Network at http://msdn.microsoft.com. FAT 8.3 names are the most limited; they're uppercase letters, digits, and $%'-_@{}~#(). VFAT names relax it a bit and add the lowercase letters and [];,=+. Neutrino's DOS filesystem silently converts FAT 8.3 filenames to uppercase, to give the illusion that lowercase is allowed ( but it doesn't preserve the case).
-----

It should also be noted that certain file (pseudo device) names are reserved including:
"CON"
"PRN"
"AUX"
"NUL"
"COM1"
"COM2"
"COM3"
"COM4"
"COM5"
"COM6"
"COM7"
"COM8"
"LPT1"
"LPT2"
"LPT3"
"LPT4"
"LPT5"
"LPT6"
"LPT7"
"LPT8"

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.