From mboxrd@z Thu Jan 1 00:00:00 1970 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (1.0) From: Brantley Coile In-reply-to: <20150912004830.5218d43b@ikilid> Date: Sun, 13 Sep 2015 07:04:23 -0400 Content-transfer-encoding: quoted-printable Message-id: References: <1441961209.2908416.380666441.6D1731B8@webmail.messagingengine.com> <20150912004830.5218d43b@ikilid> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Pre-ANSI C Topicbox-Message-UUID: 6a230a18-ead9-11e9-9d60-3106f5b1d025 Nemo's book is excellent. He has one on the user space aide of plan 9 as wel= l. http://lsub.org/who/nemo/9.intro.pdf.=20 I would suggest first reading the file portdat.h and dat.h and getting some i= dea of the structures used in the system. Seeing the data structures first i= s essential to understanding Bell Labs code. Then learn the syscall path and= start by walking through some of the familiar calls, adding new ones until y= ou exhaust them. There aren't many. By that time you'll understand how the s= ystem works. You then can walk through the boot strap procedure. Device drivers, dev*.c, are fun to read but for drivers interfacing to real h= ardware you'll need the vendor's hardware manual to really understand them. T= he devsd and devether with its many "mini-port" drivers are a bit of a world= to themselves. The IP stack more so. I would also highly recommend Ken file server as well. It's smaller in scope= and has many of the same concepts as the later kernel. I would study as ear= ly a version as you can find.=20 Not the only order to learn the code but one that has worked for me.=20 Brantley Sent from my iPad > On Sep 11, 2015, at 6:48 PM, Aleksandar Kuktin wrote: >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 >> On Fri, 11 Sep 2015 14:16:49 +0530 >> Ramakrishnan Muthukrishnan wrote: >>=20 >> Not really about Plan 9, but I found this blog post and the comments >> (there is even a comment from Rob Pike) very interesting and thought >> of sharing here. >>=20 >> >=20 > Which reminds me - I should read Plan 9's source. At least the kernel. >=20 > Any pointer about where to start? I tried with the boot code, but it > jumped around a lot and I lost track of it. >=20 > - --=20 > Svi moji e-mailovi su kriptografski potpisani. Proverite ih. > All of my e-mails are cryptographically signed. Verify them. > - -- > You don't need an AI for a robot uprising. > Humans will do just fine. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.15 (GNU/Linux) >=20 > iQIcBAEBAgAGBQJV81o+AAoJEKa4cgqNx31/A4AP/A6rhnkPiAcJBL6cZthN6+s8 > E3lJhHkK+QeWRJGfPuI/8wsCMGoNg7bv236oBmYK5SNIAt1htYeWPHwlPSrjMa6r > tjaOthZrdOBrULaXtskM26V/kCJY3r6ZNoqNxJe6USTGuh7EHRis0Id6ZBwIalUi > cTN56LjFnJHH0wLaAaXWZ/e9oSyvNxHPopwVoshF0m0gjO2wQ1UOKjNQT05YVD/L > 9e5INAl7M0Y8vc/ks4jlGPhJTOhVNhzQtnc6+E1sqWAhLEEPs9vSaIo2Yv7IkxJ1 > CSsRbt+TAmQeM6NKbB992Luag/sGi/xzJHmk3S0iSUb4OQAMzrWzvbE3pUEZV/Mx > 1XxSB5XsqDuhJekJ3HAJzKqTxfDGlfAHLoq2ntWL5VTap1QhnuxuJrdttORJwlYk > iz11WCQhkhptkuaBTXweRIZVUue/2RjIMzyonm0zam9f12BKTgF7sfbKTZEhrsPC > /ubb0kQyXLW/u3oxPM3P7VCIN+l6GzCB4VMeQpWbLSB1ZFacds+SAnWH79nCX2+o > l9UDr43GHoGYc50WYeN8gVq+yZt0mMW1n33/R+4ltUiqBbYfd1Bll+QA7d0zBecO > /k7vBh+B18XMwRGQkczvvlE7FAuxHjc7PEx8HnmIydyFU23sP966lbt5CczwIMA7 > epJusWqdEqmXP22vm/++ > =3DtRzZ > -----END PGP SIGNATURE-----