kbfs
kbfs copied to clipboard
CreateFile not call when file name contains colon?
On Windows, CreateFile can call when file name contains *?<>|", but CreateFile not call when file name contains colon, why?
Windows doesn't allow colons in filenames: https://www.quora.com/Why-are-colons-not-allowed-in-the-filenames-of-Windows-files
@strib ,yes, Windows doesn't allow colons in filenames, but dokan allow colons in filename, ZwCreateFile function can callback when i use dokan c lib, ZwCreateFile function can not callback when i use kbfs
I assume we don't allow it so as not to confuse certain Windows applications. @taruti might remember more.
Allowing files that won't work with common applications could lead to problems. Especially in shared folders with multiple people.
@barcelona-messi what kind of use-cases do you have? E.g. for maildirs usually an alternate separator character is used on Windows based systems.
@taruti , file name allow contain colons in iOS or linux, i want mount iOS or linux filesystem