From owner-freebsd-questions@FreeBSD.ORG Fri Sep 19 11:37:47 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 83ECB1065675 for ; Fri, 19 Sep 2008 11:37:47 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0866C8FC1D for ; Fri, 19 Sep 2008 11:37:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KgeIv-0002Jv-GL for freebsd-questions@freebsd.org; Fri, 19 Sep 2008 11:37:42 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Sep 2008 11:37:41 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Sep 2008 11:37:41 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 19 Sep 2008 13:37:41 +0200 Lines: 55 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig484A4338A4EAF390B85FFC85" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: kernel upgrades 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: Fri, 19 Sep 2008 11:37:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig484A4338A4EAF390B85FFC85 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Joe Tseng wrote: > I'm still new to FreeBSD (coming from CentOS/Ubuntu) so this might be > something totally obvious to others... I know I can update ports by us= ing > portsnap fetch/extract/update - does this update the kernel source as w= ell? No, you need to do two things: 1) copy /usr/share/examples/cvsup/standard-supfile somewhere, and edit it to fetch the right version of the sources from the right server. If you want to get exactly the version you have installed, you only need to change the server. Look for the line starting with "*default host=3D" and= find a host near you from this page: http://www.freebsd.org/doc/en/books/handbook/cvsup.html 2) run "csup your-supfile" - this will fetch kernel and base system sources (note that utilities like "ls", "top", "sendmail" etc. are not ports in FreeBSD; also note that the cvsup client integrated into the base system in all recent versions of FreeBSD is "csup" not "cvsup". > How do I apply this new code? Read here: http://www.freebsd.org/doc/en/books/handbook/kernelconfig.html and here:http://www.freebsd.org/doc/en/books/handbook/makeworld.html In short: # cd /usr/src # make buildworld && make kernel && make installworld && mergemaster -U && reboot --------------enig484A4338A4EAF390B85FFC85 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI048FldnAQVacBcgRAkV4AJ9HJ36yDRJhyfp0wZd/FUcRCPThcwCgo7ph OcSHUZy/h3Gi7Xr27QotybQ= =0KlC -----END PGP SIGNATURE----- --------------enig484A4338A4EAF390B85FFC85--