From owner-freebsd-hackers@freebsd.org Thu May 23 09:02:05 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43AEA15A32B5; Thu, 23 May 2019 09:02:05 +0000 (UTC) (envelope-from bch@online.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF3758A4B6; Thu, 23 May 2019 09:02:03 +0000 (UTC) (envelope-from bch@online.de) Received: from x230.onfire.org ([87.150.247.247]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MLzSD-1hCLDM3jF3-00Hy1l; Thu, 23 May 2019 11:01:53 +0200 From: Christian Barthel To: Alexandru Goia Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: newbie question References: Date: Thu, 23 May 2019 11:01:53 +0200 In-Reply-To: (Alexandru Goia's message of "Wed, 22 May 2019 01:36:24 +0300") Message-ID: <877eahbl32.fsf@x230.onfire.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:pFZwSJB7LfcFjmBFp6h/tvj2WD7uxoVyq3Epa4sCJ56JOlXmHH7 o3iJZcqzYvKUqVrds8k3CysgkzjwBBjixzSbLlq7ht9EGI9yMMEoxgs035mRpCyE60YHwQG i4bY7wEJhLcxgta7029nMeTC+OSmjgKtsHHSqILOgAefQSSrjx6AZph/i5Lm+HJPvIyCfuO hQVoRvXZdvqkzWr/ekYhw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:pkDP13vafo8=:ckGqIylJ3nWyMTKv9qG5e7 ghjOGAUJyFkGuw1XHZkgca7E4JarDXW5xohFxBjj/GhvkiwM7oajZDwr9LlEHD/tFi6SnRnlv 6ix3Xc0PyxRQwH19+EmZiCRSKntbGhpbwUllMHOB5FJM0YONmp1Fv7zbFmeHmjjgSAdFiQjmi p6r8nJIw+6Lv82/q9R6U/+y6eKbq3HeLd4d51UQ40nvhWBNWytLIQyq4DAp4hob0tXE2StGPN eJcshHVDj8Od/ModPPOZ+HKqBxLTwxDr1SXDtLK6FM/c7u2bB1RzeHmYXuzidGw5jrSppUTYm fmZwKizF8E22bm/WTuQRAMOfA8BsvzC5ATbi6Ql1ZD9yxAivuTNm6QG1CPErg/tMJCZRi2Z6O Yh7dWfvJEOdNjjsq+zyMbQ4V2H2x2FaHnMCfUGAKAwJoJr97wJ3GNhKyvaeFeYESF+dySCknw j44j+oT47K4v2KsiXaTvnRCBtM6WNCZXO5tGBvOVUsiZwTcPSYhanEKz2cO+K82Kt4iZXGrhm rJrXfapomz2vjqH4HGOMoZAIaQSWZjqV+CWFK85Le4B3TXS9aBQf1wBTQyi0dd3fiA7p70zg6 fUOBOz1ufRsPXufmaRqLSNwC5oLFXd1GZLZflj2KqJI+8OcDq7rNW8jtcSEk/rr24u3dBEdN7 i4P2Zyg807wVINH59O4gdh6rNyeKwgez11JE0IAnrjINW0nJdx/JizzFsBRgNLpOvGjBmOvqZ G2gi7W0tqEA1BDTXNCYdgbgbMGRNY67YJHrTMcLjZbpS7Z6GsNSGQAF1uGY= X-Rspamd-Queue-Id: AF3758A4B6 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of bch@online.de designates 212.227.126.130 as permitted sender) smtp.mailfrom=bch@online.de X-Spamd-Result: default: False [3.32 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[130.126.227.212.rep.mailspike.net : 127.0.0.17]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.126.128/25]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[online.de]; NEURAL_SPAM_MEDIUM(0.97)[0.975,0]; NEURAL_SPAM_SHORT(0.84)[0.840,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx01.emig.kundenserver.de,mx00.emig.kundenserver.de]; NEURAL_SPAM_LONG(0.94)[0.935,0]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.88)[ip: (3.33), ipnet: 212.227.0.0/16(-1.50), asn: 8560(2.59), country: DE(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[247.247.150.87.zen.spamhaus.org : 127.0.0.10] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2019 09:02:05 -0000 Alexandru Goia writes: > greetings. how can do i get attuned in a logical manner with the > *bsd/freebsd kernel source code ? thank you very much ! As others already suggested, there is a very good book on the FreeBSD operating system by M.K. McKusick, G.V. Neville-Neil and R.N.M Watson [1]. At [2], one of the FreeBSD developers (R.N.M. Watson) wrote a public mail where and how to start with the FreeBSD source code (it's from 2005, but I guess the overall "idea" how to start is still valid). I personally found DTrace also a very helpful tool to discover and observe the activity from the kernel (beside other standard tools like ktrace(1) and so on). The Linux kernel community has a "kernel-newbies" mailinglist. I am not aware that something similar exists for FreeBSD but I personally would appreciate that for FreeBSD as well. Anyone aware of something like that? [1] http://www.informit.com/store/design-and-implementation-of-the-freebsd-operating-9780321968975?ranMID=24808 [2] http://www.watson.org/~robert/freebsd/reading/ -- Christian Barthel