From owner-freebsd-questions@FreeBSD.ORG Sun May 11 14:16:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C942A106566B for ; Sun, 11 May 2008 14:16:28 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 9DB738FC19 for ; Sun, 11 May 2008 14:16:28 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from ool-435559b8.dyn.optonline.net (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K0P00ENJJNFEIE0@mta2.srv.hcvlny.cv.net> for freebsd-questions@freebsd.org; Sun, 11 May 2008 10:16:27 -0400 (EDT) Received: from ool-435559b8.dyn.optonline.net (localhost [127.0.0.1]) by ool-435559b8.dyn.optonline.net (8.14.2/8.14.2) with ESMTP id m4BEGQ9A056240; Sun, 11 May 2008 10:16:26 -0400 Date: Sun, 11 May 2008 10:16:21 -0400 From: "Aryeh M. Friedman" In-reply-to: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> To: Onkar Message-id: <4826FFB5.2020902@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7BIT X-Enigmail-Version: 0.95.6 References: <6933400d0805110639t2f19c220ja2fd788ba2b7c774@mail.gmail.com> User-Agent: Thunderbird 2.0.0.14 (X11/20080504) Cc: freebsd-questions@freebsd.org Subject: Re: Dowloading entire source code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2008 14:16:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Onkar wrote: | I am a newbie to FreeBSD . I want ot downlod entire FreeBSD source code for | reference. Please let me know how do i go about it. Depends on if your talking about for the base system or ports or both. The easiest way to do it is use the csup procedures listed in the one of appendixs of the Handbook. If you want to do it in in such a way that if you make a mortification the next csup will not globber it read the man page for developement(8), you should note though that some of the procedures listed there are overkill. For example I skip most of the stuff on /usr/src2 (besides it breaks some tools). For example this is how I update my sources on a daily baseis: cvsup -h cvsup9.us.freebsd.org /usr/share/example/cvsup/cvsup-supfile // fetch the latest6 cvs repository cd /usr/src cvs -q update -dP // update my local base systems sources // do the make procedure listed in the handbook cd /usr/ports cvs -q update -dP // update my ports tree portsupgrade -a // install any new port updates Note this method will give you a 8-CURRENT system if you want some other version you will have to put a tag option on the /usr/src cvs call. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgm/7UACgkQk8GFzCrQm4Al/gCeK0vsp9QqVYycqKLUKyinSImu 1FgAoIYiHM5RaVmYI76zGDAbJNa5h7Jp =06ha -----END PGP SIGNATURE-----