5 ms·
Why do OSs like Linux distributions accept all characters in filenames except null and `/`? This causes problems even with ASCII (space, linefeed), and it's not
by avgcorrection 3y ago
Why do OSs like Linux distributions accept all characters in filenames except null and `/`? This causes problems even with ASCII (space, linefeed), and it's not like you need control characters like ACK in your filename.
- tbrownaw 3y agoApplying policies to restrict which `byte[]` values are valid index keys is not the "one thing" that a filesystem is supposed to do well.
- carlmr 3y agoYou're saying this as if it's self-evident. Why not?
- yakubin 3y agoBecause your filesystem is a storage layer. Its concern is storage, not display. It shouldn’t concern itself with how bytes are interpreted by your terminal, GUI, whatever. Those will also differ based on the particular program doing the interpreting.