Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2005 12:21:59 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        John Que <qwejohn@hotmail.com>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: FreeBSD Kernel Source
Message-ID:  <20050309102158.GA13644@orion.daedalusnetworks.priv>
In-Reply-To: <BAY14-F311DC00B879F2C2E4BB5BDAF510@phx.gbl>
References:  <BAY14-F311DC00B879F2C2E4BB5BDAF510@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-03-09 11:37, John Que <qwejohn@hotmail.com> wrote:
> Hello,
>
> I am a totally newbie to FreeBSD.
>
> I want to download FreeBSD Kernel Source (I do not want to install the
> OS itself, just look at the sources on a different (Linux) platform).
> Is it possible ?

Yes.

> From where can I download it ?

You can browse the source online at:

  http://cvsweb.freebsd.org/src/sys/

You can download a snapshot of the source from one of the FTP mirrors.

For example, if you download all the ssys.?? files from
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/5.3-RELEASE/src/

you can join the files and view their contents as a normal tarball:

  % cat ssys.?? | tar tvf -

Alternatively, if you want to keep an up to date copy of the source, you
may find it easier to use CVSup.  There are Linux binaries of CVSup at:

  ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/binaries/

The process of obtaining the full source tree for FreeBSD would then be:

  - Download a binary of CVSup that works for you.

  - Copy a supfile from the FreeBSD samples.

    The source of these example supfiles can be found at:
    http://cvsweb.freebsd.org/src/share/examples/cvsup/

  - Edit your supfile, as necessary.

  - Run cvsup.

This should download an up to date version of the source parts you
configure your supfile with.

Giorgos



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050309102158.GA13644>