Hacker News new | ask | show | jobs
by dalke 5027 days ago
The author also mentions a problem with the filesystem: what is the filesystem encoding? Do you treat filenames as blobs, or encoded strings? What do you do if you think the filesystem stores UTF-8 but there's a filename which has a byte sequence which is invalid UTF-8?
1 comments

This question is equally applicable to all data sources -- not just filesystems. The question applies to sockets, IPC, databases, everything.
I was thinking about this some more. You are right, but both you and I missed the point.

I think the author is saying that the problem is the "unix filesystem" is actually filesystem that doesn't match the unix, where 'unix' includes sh/csh/bash shell and command-line arguments which start with '-'.

If the filesystem wasn't a broad in what it accepted ... and the author is trying to convince us that POSIX allows that ... then it would a unix filesystem which was a better match to unix.