From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 08:09:12 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC6616A420 for ; Thu, 24 Jan 2008 08:09:12 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5E0B513C45A for ; Thu, 24 Jan 2008 08:09:11 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (unknown [202.108.54.204]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTP id 63D3528449 for ; Thu, 24 Jan 2008 16:09:10 +0800 (CST) Received: from localhost (unknown [202.108.54.204]) by tarsier.geekcn.org (Postfix) with ESMTP id 24AB1EB9C57; Thu, 24 Jan 2008 16:09:10 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([202.108.54.204]) by localhost (mail.geekcn.org [202.108.54.204]) (amavisd-new, port 10024) with ESMTP id Ja7c1R2xhyZV; Thu, 24 Jan 2008 16:09:04 +0800 (CST) Received: from charlie.delphij.net (c-67-161-39-180.hsd1.ca.comcast.net [67.161.39.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 48C25EB1A58; Thu, 24 Jan 2008 16:09:03 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=kiLznnvKFHQPph+P4b0AddLHLgX/Rr/jUnl/YnDM3LIVHhHIIJnWUdr10zW0OA4AY w7j4tuBc+Sj6PbvYwWDWQ== Message-ID: <4798479B.9030406@delphij.net> Date: Thu, 24 Jan 2008 00:08:59 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20080122) MIME-Version: 1.0 To: william wong References: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> In-Reply-To: <84a208a0801232306k6a34134aqd549a1ba2160fe41@mail.gmail.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD hacker 101 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2008 08:09:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 william wong wrote: > Hi, > > Are there any docments or pointers to get me started hacking around my > 6.3asap? Building toochains, submitting patches etc.... or i just > follow most > of the conventions in the Linux kernel development community? I think it's nothing "that" different. A typical way is that you find something you are not happy with, i.e. what you think FreeBSD is lacking of, do some proof of concept work, discuss it in the mailing list, refine your work, submit patch, become a committer :-) The only "difference" as far as I can tell is that FreeBSD tends to have stricter code style guidelines (the only exceptions are what we call "vendor code" which is maintained outside, this includes toolchains, device drivers that is supported by vendors, in order to make future upgrades easier). However, unlike some other bad code style guidelines, FreeBSD's coding style is very well documented (as in style(9)), and following the guideline will make your code easier to read (e.g. think about how to find the implementation with grep(1)? Yes, grep ^function.). We eager to see contributions from all aspects, but if you have no idea for your own, or is looking for something to give a shot, you can check out our projects idea page at http://www.freebsd.org/projects/ideas/ . Small contributions, like making more documentation about various sysctl's, etc. are more suitable for those who just started to learn about the code and can not invest a lot of whole bunch of time on FreeBSD (yet), are welcomed as well. Another good start is to query our PR database ( http://www.freebsd.org/cgi/query-pr-summary.cgi ) and see if there is something you have interest, but there is no fix, or there is a fix but stayed for a long time and push them. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHmEebi+vbBBjt66ARArlQAJ4xMkuM6ZflCM25wcq7Q+efxedpAACdH4w6 jwc1NRdGUp/vrGf8mMpWTiM= =Z6lW -----END PGP SIGNATURE-----