2010年5月31日 星期一

2010年5月14日 星期五

freebsd-update

資料來源
http://www.freebsd.org/releases/7.3R/announce.html

FreeBSD Update

The freebsd-update(8) utility supports binary upgrades of i386 and amd64 systems running earlier FreeBSD releases. Systems running 7.[012]-RELEASE, 7.3-BETA1, or 7.3-RC[12] can upgrade as follows:

# freebsd-update upgrade -r 7.3-RELEASE

During this process, FreeBSD Update may ask the user to help by merging some configuration files or by confirming that the automatically performed merging was done correctly.
 
# freebsd-update install

The system must be rebooted with the newly installed kernel before continuing.
 
# shutdown -r now

After rebooting, freebsd-update needs to be run again to install the new userland components, and the system needs to be rebooted again:
 
# freebsd-update install
# shutdown -r now

Users of earlier FreeBSD releases (FreeBSD 6.x) can also use freebsd-update to upgrade to FreeBSD 7.3, but will be prompted to rebuild all third-party applications (e.g., anything installed from the ports tree) after the second invocation of "freebsd-update install", in order to handle differences in the system libraries between FreeBSD 6.x and FreeBSD 7.x.

2011年1月3日補充
如果是8.1-RELEASE-p0 更新到 8.1-RELEASE-p2的話
# freebsd-update fetch
# freebsd-update install
# reboot
即可