In Unix Everything Is a File
ph7spot.com
In Unix Everything Is a File
1–10 of 57 posts
Re: In Unix Everything Is a File
#2google cache link: https://webcache.googleusercontent.com/search?q=cache:L6aopS...
Re: In Unix Everything Is a File
#3Page is from 2014. Archive link: https://web.archive.org/web/20091119184152/https://ph7spot.c...
Edit: archive of 6 years ago with some styling: http://archive.is/B9He (The page actually loaded for me on the second try, and the design looks a lot more modern now.)
Re: In Unix Everything Is a File
#4Re: In Unix Everything Is a File
#5Which was the last Unix release/flavor where you could still read(2) a directory? All manpages that I've found say that you get EISDIR if you try it.
Re: In Unix Everything Is a File
#6For communicating between processes running locally on system. Or, for example, a server running locally on an android device. Unix domain sockets typically beat TCP connections for most large file transfers. But is there anything faster?
And what about transfers over the public net from machine to machine? I usually just use netcat, ssh, or scp.
Re: In Unix Everything Is a File
#7Re: In Unix Everything Is a File
#8I think the author might have confused Plan9 and UNIX.
Re: In Unix Everything Is a File
#9- unless you are using Plan 9 or gpm, reading mouse events is almost certainly going to be a lot more involved than opening /dev/mouse
- you can't portably use select() to wait on pthread conditions
- lots of useful things (like POSIX shared memory objects) are file descriptors, but aren't filesystem namespaced
Sometimes I wonder what the world would look like if Plan 9 had won.
Re: In Unix Everything Is a File
#10In UNIX everything is a file, except when it is not.