Hacker News new | ask | show | jobs
by gaius 5228 days ago
/proc and /dev/tcp

http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.htm...

http://www.linuxjournal.com/content/more-using-bashs-built-d...

X is just a protocol, you can happily think about X apps in terms of processes and sockets.

3 comments

I agree, but this should have been from the start, or at least from UNIX-Internet marriage. My point was little tongue-in-cheek, but I believe that during the years UNIX has got things that are not truly with their initial idea. Or little more interfaces than necessary.
/proc is an attempt to retrofit plan9 ideas back on Linux. Plan9's is far more powerful, because you can control the visibility of filesystem mounts per-process.
That does suggest the idea of implementing a FUSE filesystem that represents all clients connected to the X server (or Wayland). That could be interesting.