This will update the source to the latest revision and, of course, only copy the files that are new or have changed.
Note: Upgrades are only supported from one release to the release immediately following it.
Once the source tree is checked out with subversion the path and options used from the check out is stored in the new /usr/src/directory.
Thanks to this all it takes to update the Free BSD source tree in the future is this command.
Remove /usr/src and fetch Free BSD 9.0-RELEASE-p N, for instance: If you delete /usr/src in order to fetch a different version you might loose you kernel configuration file.
In the above illustration, the vertical dotted lines denote bug fixes being incorporated into the -stable branches. You need /base/releng/ if you are going to track a particular Free BSD release with security patches.Or /base/stable/ if you are interested in Free BSD-STABLE.Make a copy of existing supfile, enter: WITHOUT_ATM=yes WITHOUT_CALENDAR=yes WITHOUT_GAMES=yes WITHOUT_I4B=yes WITHOUT_IPFILTER=yes WITHOUT_IPX=yes WITHOUT_LPR=yes WITHOUT_NETCAT=yes WITHOUT_NIS=yes WITHOUT_RCMDS=yes WITHOUT_SENDMAIL=yes WITHOUT_WPA_SUPPLICANT_EAPOL=yes WITHOUT_ZFS=yes WITHOUT_BLUETOOTH=yesinclude GENERIC ident www303 options SMP nodevice ugen nodevice uhid nodevice ulpt nodevice umass nodevice ums nodevice ural nodevice urio nodevice uscanner nodevice aue nodevice axe nodevice cdce nodevice cue nodevice kue nodevice rue options CONSPEED=19200 options QUOTA # pf firewall specific device pf device pflog device pfsync options ALTQ options ALTQ_CBQ # Class Bases Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP build # Turn on device polling for em driver options DEVICE_POLLING options HZ=1000You need to boot into a single user mode using KVM to finish entire upgrade procedure. However, you can load and other modules to get kvm support under single user mode. Connect to your remote Free BSD box using KVM client and issue reboot command.At Free BSD boot menu press [Spacebar] key to pause default booting. Type the following commands to load KVM support and boot into a single user mode: The mergemaster utility is designed to aid you in updating the various configuration and other files associated with Free BSD.First you will need subversion installed on the system, to do this you can install from the ports or packages.You can just accept the default port configuration options.To install sys configuration files that are required by the new base system.To compare only files known to be essential to the success of install world, enter: The author is the creator of nix Craft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting.If you wish to build it from source, starting from the latest snapshot is required.In a previous post I described the process for updating the Free BSD source tree using csup and upgrading from Free BSD release to the stable branch.These days subversion svn has started to replace cvs as the version control system for the Free BSD source tree.Here I am going to note the commands you would use to updating the Free BSD source tree using subversion instead of csup.The sysmerge(8) utility will compare the files that are currently on your system with those that would be installed in a fresh install.