kernel upgrades

Ivan Voras ivoras at
Fri Sep 19 11:37:47 UTC 2008

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 using
> portsnap fetch/extract/update - does this update the kernel source as well?

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=" and
find a host near you from this page:
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: and

In short:

# cd /usr/src
# make buildworld && make kernel && make installworld && mergemaster -U
&& reboot

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list