Date: Wed, 22 May 2019 08:39:36 +0300 From: Dima Sichkar <dmytrosichkar@gmail.com> To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> Cc: "Greg 'groggy' Lehey" <grog@freebsd.org>, freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, Alexandru Goia <bsdunix99@gmail.com> Subject: Re: newbie question Message-ID: <CAJT0yxOX=Rftf7P=PEs907p=0_RZ5kgJD6CC64S-g5kTFHjK9A@mail.gmail.com> In-Reply-To: <201905220410.x4M4AcOZ082596@gndrsh.dnsmgr.net> References: <20190521234006.GS16860@eureka.lemis.com> <201905220410.x4M4AcOZ082596@gndrsh.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
You could also meditate on a "Grand Map": https://dspinellis.github.io/unix-architecture/arch.pdf It's helping me alot in binding source to some visual anchors. =D1=81=D1=80, 22 =D0=BC=D0=B0=D1=8F 2019 =D0=B3. =D0=B2 07:12, Rodney W. Gr= imes <freebsd-rwg@gndrsh.dnsmgr.net >: > > On Wednesday, 22 May 2019 at 1:36:24 +0300, Alexandru Goia wrote: > > > greetings. how can do i get attuned in a logical manner with the > > > *bsd/freebsd kernel source code ? thank you very much ! > > > > Clearly you know how to get it (otherwise > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ is your > > friend). To understand it better, I'd suggest reading "The Design and > > Implementation of the FreeBSD Operating System" by Kirk McKusick and > > George Neville-Neil (Addison-Wesley). > > > > Understanding the code requires some work. People will happily answer > > detail questions, but you'll be responsible for finding out the > > overall structure yourself. > > During a somewhat recent session of working with a not new, > but also not seasoned developer, they noted a great deal of > confusion when I was reading through and explaining code > to them when I would actually read "pcb" on screen as > "Process Control Block" when verbalizing it. They could not > see what I had just read to them. > > After a short discussion we realized that my mind was auto translating > the short and cryptic variable names into the full and proper names. > This became key in my understanding of how all these bits work > long long ago and has just become automatic. SO, I encorage you and > others new to the code, learn these data structure names, and mentall > process them by long name, it could help you to better understand > what it is your reading. > > The BSD sources are very consistent in its use of names and objects, > and abbriviates, taking that to your advantage! > > Anyone any place have a nice list of the TLA to full name? > pcb > tcb > p > tp > ifa > ... > > > Greg > -- > Rod Grimes > rgrimes@freebsd.org > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJT0yxOX=Rftf7P=PEs907p=0_RZ5kgJD6CC64S-g5kTFHjK9A>