Some questions on updating.

Sven Willenberger sven at
Sat Aug 7 09:07:46 PDT 2004

K. G. Suarez wrote:
Hi everyone.

Would doing the following be the correct way to update a system?

cvsup /usr/share/examples/cvsup/DragonFly-supfile
cd /usr
cvs -R -d /home/dcvs checkout src
cvs -R -d /home/dcvs checkout dfports
cvsup -h /usr/share/examples/cvsup/FreeBSD-ports-supfile
cd /usr/src
make buildworld
make installworld
cd /usr/src
make buildkernel KERNCONF=GENERIC
make installkernel KERNCONF=GENERIC
Also, how often should I update my system?

quick ordering point:
make buildworld
make buildkernel
make installkernel
reboot (single user mode if you can)
make installworld
(in other words, install the new kernel before installing the new world).
After you cvsup, you should see a file called UPDATING in the /usr/src 
directory - this will always contain upgrade information as well as 
possible caveats to look out for with each upgrade.

FreeBSD uses mergemaster after installing world to handle your /etc 
files and I think DFly does as well; The UPDATING file recommends that 
you use the "make upgrade" command to handle the /etc config files update.

More information about the Kernel mailing list