> i don't know if that's too silly of me, but having this separation
> with this semantics (regular files vs service interfaces) doesn't goes
> against the idea that in plan9 one wouldn't have to differentiate
> between types of files unless he/she wishes so?

there are several different types of files, and
a few significant conventions,
so that /net is not interchangeable with /mnt, say.
put another way, things under /net deliberately present a
particular interface so that ndb/cs and dial will function,
regardless of what the names actually mean (ip vs datakit for instance).
if you try dialling things in /mnt, you're bound to be disappointed.

what plan 9 says is that to access anything, ultimately you
open a name, read/write, close.
it doesn't say that you don't differentiate between files,
and what you read and write will differ for /dev/draw as against
/net/tcp

Reply via email to