GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UPGRADE(8) FreeBSD System Manager's Manual UPGRADE(8)

upgrade
upgrade the sources and rebuild the world

upgrade [-mnh] [-l logfile] [-s supfile] [-H host] file

The upgrade command is a wrapper script for the buildit(8) and whereintheworld(8) commands. It was made to ease the process of upgrading a FreeBSD system.

The upgrade command will, in order, update the source tree using the cvsup(1) command then run make buildworld to recompile the whole source tree. Both commands are run in the buildit(8) wrapper, but only the buildworld can have email notification enabled, to avoid unecessary email traffic.

The options are as follows:
do not send email when finished (passed directly to buildit(8).
args
pass args to the cvsup(1) call.
args
pass args to the make buildworld call.
do not update the source tree using cvsup(1).
print out a simple help and exit.
logfile
log all output to logfile.
supfile
tell cvsup(1) to use supfile as its configuration file.
hostname
tell cvsup(1) to connect to hostname to update the sources.

/usr/share/examples/cvsup/standard-supfile
The default supfile passed to cvsup(1).
/var/log/build.log
The default logfile location. This file can safely be removed when the script is finished.

The cvsup(1) and make buildworld commands are both started using buildit(8) so all diagnostics will be the same as buildit(8).

The upgrade command is severly FreeBSD centric and is only relevant on that platform.

make buildworld is called instead of a full make world because the recommended way of upgrading a FreeBSD system is to do the installworld part of the make world in single user mode. So after calling upgrade, you will still need to manually run mergemaster(8) and make installworld just as before.

By default, upgrade will make cvsup(1) connect to cvsup.freebsd.org. You are encouraged to use the -H flag in order to choose a mirror closer to your location and alleviate the load on the main servers.

buildit(8), whereintheworld(8), cvsup(1), mergemaster(8), /usr/src/README

http://www.FreeBSD.org/handbook/makeworld.html

http://www.FreeBSD.org/handbook/cvsup.html#CVSUP-MIRRORS

The upgrade manual page first appeared in worldtools 1.2.

This manual page and the upgrade command were written by The Anarcat ⟨anarcat@anarcat.ath.cx⟩.

No known bugs.
August 27, 2003 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.