2 ms·
Doesn't it (or Windows) also disallow the path component separator character(s) ('/' and '\')? Unix and alike disallow NULs and /, for obvious reasons.
by cryptonector 9y ago
Doesn't it (or Windows) also disallow the path component separator character(s) ('/' and '\')?
Unix and alike disallow NULs and /, for obvious reasons.
- tcoff91 9y agoThere are a number of characters like path separators that cannot be part of a file name on windows. However I am not sure if this is enforced by the OS APIs or by NTFS itself. It is entirely possible that NTFS could allow something that higher layers don’t.
- Piskvorrr 9y agoYou could break NTFS into accepting this. Fun things happen, for a specific definition of "fun".
- cryptonector 9y agoIf the kernel (and SMB, and...) imposes these constraints, it's fine for the filesystem to not also impose the same constraints on file naming.