From owner-freebsd-jail@FreeBSD.ORG Sun Oct 25 04:11:15 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4AAE106566B for ; Sun, 25 Oct 2009 04:11:15 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.32.7]) by mx1.freebsd.org (Postfix) with ESMTP id 631E48FC0A for ; Sun, 25 Oct 2009 04:11:15 +0000 (UTC) Received: from localhost (unknown [195.96.32.7]) by mail.moehre.org (Postfix) with ESMTP id 3B7354D4455; Sun, 25 Oct 2009 05:11:14 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -3.822 X-Spam-Level: X-Spam-Status: No, score=-3.822 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.8, AWL=0.577, BAYES_00=-2.599] autolearn=ham Received: from mail.moehre.org ([195.96.32.7]) by localhost (mail.moehre.org [195.96.32.7]) (amavisd-new, port 10024) with ESMTP id Jc-SKSTLuPaU; Sun, 25 Oct 2009 05:11:11 +0100 (CET) Received: from [192.168.100.30] (p54B0D1CA.dip.t-dialin.net [84.176.209.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTP id 606D94D4454; Sun, 25 Oct 2009 05:11:11 +0100 (CET) Message-ID: <4AE3CFDD.1080302@executive-computing.de> Date: Sun, 25 Oct 2009 05:11:09 +0100 From: Marco Steinbach User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Tommy Pham References: <510798.22136.qm@web38206.mail.mud.yahoo.com> In-Reply-To: <510798.22136.qm@web38206.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Understand the internals of FreeBSD X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2009 04:11:15 -0000 Tommy Pham schrieb: > Hi everyone, > > What do you all recommend for a better understanding of the FreeBSD's internals & jail system? Should I review C, C++ or both before reading the source code? It's been over a decade since I code in C/C++ and that was in college doing old school structured programming languages. :D "The Design and Implementation of the FreeBSD Operating System" (ISBN 978-0201702453) was a good starting point for me. As for understanding the internals of the jail mechanism in detail, you will need to familiarize yourself with at least parts of the source of the system. The man pages (apropos jail) will provide some entry points. There is an introductory paper written by Poul-Henning Kamp and Robert N.M. Watson available at http://phk.freebsd.dk/pubs/sane2000-jail.pdf, which might help you getting started. Other documents at http://phk.freebsd.dk/pubs/ might be of interest, also. MfG CoCo