Nixers Book Club - Book #6: Introduction to Operating Systems Abstractions - Community & Forums Related Discussions
Users browsing this thread: 7 Guest(s)
|
|||
Time for the book club review and discussion.
## Chapter 7 This chapter was captivating because it tackled aspects that I'm not used to. Here are some notes: - The environment variables are cached in rc and for that reason you need to start a new one so that they take effect. I'm not sure that's very practical. - The concept of namespace, using a name service, along with a translation mechanism that resolves files/Chan that are stored on the file server is pretty cool. ns prints the current available namespaces, per process. This is applied/passed when forking (flag RFNAMEG), and can be overriden with Local to transfer the namespace to child processes. - It's the 9p protocol that is used to talk with file servers - The srv program is used to connect to a server and then creates a file descriptor that will speak the appropriate protocol. It can then be mounted. - Bind is kind of like a more generic hardlink - The /dev/drivers and device mounting conundrum, which is explained with device names that start with #/ and that are omnipresent. - Union mount, merging 2 directories in a bind and resolving conflict, is something I've read about before. ## Chapter 8 This chapter was pretty uneventful, mostly because a lot of the shell examples are familiar with Unix. One thing to note, lists are like perl lists, flattened. Another one is that single character concatenation is explained as a subset/special case of the cross operator caret/^. I found that interesting. |
|||