Nixers Book Club - Book #6: Introduction to Operating Systems Abstractions - Community & Forums Related Discussions
Users browsing this thread: 6 Guest(s)
|
|||
Chapter 3 and 4 were pretty simple, especially with a Unix background
the content can be compared. Here are a couple of notes I took during my reading. ## Chapter 3 They fixed the create syscall 😂 Code: fd = create("afile", OWRITE, 0664); Quote:> Plan 9 does not have a wastebasketFirst time I hear it called that way. In Plan9, like old Unix, you can still see the directory file structure and manipulate it directly with the help of some specific syscalls: Code: xd -c . Globbing in the shell is the same as Unix. One thing that is different though are the arguments for the dd command, they got dashes now. I was particularly impressed by the buffer section of chapter 3. It's a pretty good way to learn the importance of buffering. We also get a practical example. Biobuf is really useful instead of reinventing the wheel each time. ## Chapter 4 Similar vibe as chapter 3, I keep comparing in my mind. Fork is the same as Unix fork. NB: The author never stops the "important" talk. One thing I found weird is that execl needs argv[0] explicitly, that's peculiar. Wait syscall also returns a full message, I like how errors are much more verbose in Plan9, that makes it simpler to debug. |
|||