2002-10-25 21:29:00 +00:00
|
|
|
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
|
|
|
|
<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
|
|
|
|
%man;
|
|
|
|
|
|
|
|
<!ENTITY % freebsd PUBLIC "-//FreeBSD//ENTITIES DocBook Miscellaneous FreeBSD Entities//EN">
|
|
|
|
%freebsd;
|
|
|
|
|
|
|
|
<!ENTITY % authors PUBLIC "-//FreeBSD//ENTITIES DocBook Author Entities//EN">
|
|
|
|
%authors;
|
|
|
|
|
|
|
|
<!ENTITY % teams PUBLIC "-//FreeBSD//ENTITIES DocBook Team Entities//EN">
|
|
|
|
%teams;
|
|
|
|
|
|
|
|
<!ENTITY % mailing-lists PUBLIC "-//FreeBSD//ENTITIES DocBook Mailing List Entities//EN">
|
|
|
|
%mailing-lists;
|
2002-10-25 21:56:05 +00:00
|
|
|
|
|
|
|
<!ENTITY % release PUBLIC "-//FreeBSD//ENTITIES Release Specification//EN">
|
|
|
|
%release;
|
2003-05-03 22:14:55 +00:00
|
|
|
|
|
|
|
<!ENTITY release.4x "4.<replaceable>X</replaceable>">
|
|
|
|
<!ENTITY release.5x "5.<replaceable>X</replaceable>">
|
|
|
|
|
2002-10-25 21:29:00 +00:00
|
|
|
]>
|
|
|
|
|
|
|
|
<article>
|
|
|
|
<articleinfo>
|
2003-05-03 22:14:55 +00:00
|
|
|
<title>Early Adopter's Guide to &os; &release.current;</title>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
|
|
|
<authorgroup>
|
2002-10-29 00:59:36 +00:00
|
|
|
<corpauthor>The &os; Release Engineering Team</corpauthor>
|
2002-10-25 21:29:00 +00:00
|
|
|
</authorgroup>
|
|
|
|
|
|
|
|
<pubdate>$FreeBSD$</pubdate>
|
|
|
|
|
|
|
|
<copyright>
|
|
|
|
<year>2002</year>
|
2003-01-06 21:59:16 +00:00
|
|
|
<year>2003</year>
|
2002-10-29 00:59:36 +00:00
|
|
|
<holder role="mailto:re@FreeBSD.org">The &os; Release
|
2002-10-25 21:29:00 +00:00
|
|
|
Engineering Team</holder>
|
|
|
|
</copyright>
|
2003-05-03 22:14:55 +00:00
|
|
|
|
|
|
|
<abstract>
|
|
|
|
<para>This article describes the status of &os;
|
|
|
|
&release.current;, from the standpoint of users who may be new
|
|
|
|
to the &release.5x; series of releases or to &os; in general.
|
|
|
|
It presents some background information on release
|
|
|
|
engineering, some highlights of new features, and some
|
|
|
|
possible drawbacks that might be faced by early adopters. It
|
|
|
|
also contains some of the future release engineering plans for
|
|
|
|
the 4-STABLE development branch and some tips on upgrading
|
|
|
|
existing systems.</para>
|
|
|
|
</abstract>
|
2002-10-25 21:29:00 +00:00
|
|
|
</articleinfo>
|
|
|
|
|
2003-01-12 18:23:15 +00:00
|
|
|
<sect1 id="intro">
|
2002-10-25 21:29:00 +00:00
|
|
|
<title>Introduction</title>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>&os; &release.5x; marks the first new major version of &os; in
|
2002-10-25 21:29:00 +00:00
|
|
|
over two years. Besides a number of new features, it also
|
|
|
|
contains a number of major developments in the underlying system
|
|
|
|
architecture.
|
|
|
|
Along with these advances, however, comes a system that
|
|
|
|
incorporates a tremendous amount of new and not-widely-tested
|
|
|
|
code. Compared to the existing line of
|
2003-05-03 22:14:55 +00:00
|
|
|
&release.4x; releases, the first few &release.5x; releases
|
|
|
|
may have regressions
|
2002-10-25 21:29:00 +00:00
|
|
|
in areas of stability, performance, and occasionally
|
|
|
|
functionality.</para>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>For these reasons, the &a.re; specifically
|
|
|
|
discourages users from updating from older &os; releases to
|
|
|
|
&release.current; unless they are aware of (and prepared to deal
|
|
|
|
with) possible regressions in the newer releases.
|
|
|
|
Specifically, for more conservative users, we recommend
|
|
|
|
running &release.4x; releases (such as
|
2003-04-07 11:15:14 +00:00
|
|
|
4.8-RELEASE) for the near-term
|
2002-10-25 21:29:00 +00:00
|
|
|
future. We feel that such users are probably best served by
|
2003-05-03 22:14:55 +00:00
|
|
|
upgrading to &release.5x; only after a
|
2002-10-25 21:29:00 +00:00
|
|
|
5-STABLE development branch has been created; this may be around
|
2003-05-03 22:14:55 +00:00
|
|
|
the time of 5.2-RELEASE.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>(&os; &release.5x; suffers from what has been described as a
|
2002-10-25 21:29:00 +00:00
|
|
|
<quote>chicken and egg</quote> problem. The entire project has
|
2003-05-03 22:14:55 +00:00
|
|
|
a goal of producing releases that are as stable and reliable
|
2002-10-25 21:29:00 +00:00
|
|
|
as possible. This stability and reliability requires widespread
|
|
|
|
testing, particularly of the system's newer features. However,
|
|
|
|
getting a large number of users to test the system, in a
|
|
|
|
practical sense, means building and distributing a
|
|
|
|
release first!)</para>
|
|
|
|
|
|
|
|
<para>This article describes some of the issues involved in
|
2003-05-03 22:14:55 +00:00
|
|
|
installing and running &os; &release.current;. We begin with a
|
2002-10-29 00:59:36 +00:00
|
|
|
brief overview of the &os; release process. We then present
|
2003-05-03 22:14:55 +00:00
|
|
|
some of the more noteworthy new features in &os; &release.current;, along
|
2002-10-25 21:29:00 +00:00
|
|
|
with some areas that may prove troublesome for unwary users.
|
|
|
|
For those users choosing to remain with 4-STABLE-based releases,
|
|
|
|
we give some of the short- to medium-term plans for this
|
|
|
|
development branch. Finally, we present some notes on upgrading
|
2003-05-03 22:14:55 +00:00
|
|
|
existing &release.4x; systems to &release.current;.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
</sect1>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2003-01-12 18:23:15 +00:00
|
|
|
<sect1 id="release-overview">
|
2002-10-29 00:59:36 +00:00
|
|
|
<title>An Overview of the &os; Release Process</title>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-29 00:59:36 +00:00
|
|
|
<para>&os; employs a model of development that relies on multiple
|
2002-10-25 21:29:00 +00:00
|
|
|
development branches within the source code repository. The main branch is called
|
|
|
|
<quote>CURRENT</quote>, and is referred to in the CVS repository
|
|
|
|
with the <literal>HEAD</literal> tag. New features are
|
|
|
|
committed first to this branch; although this means that CURRENT
|
|
|
|
is the first to see new functionality, it also means that it
|
|
|
|
occasionally suffers from breakages as new features are
|
|
|
|
added and debugged.</para>
|
|
|
|
|
2002-10-29 00:59:36 +00:00
|
|
|
<para>Most &os; releases are made from one of several
|
2002-10-25 21:29:00 +00:00
|
|
|
<quote>STABLE</quote> branches. Features are only added to
|
|
|
|
these branches after some amount of testing in CURRENT. At the
|
|
|
|
moment, only one STABLE branch is under active development; this
|
|
|
|
branch is referred to as <quote>4-STABLE</quote>, and all of the
|
2003-05-03 22:14:55 +00:00
|
|
|
&os; &release.4x; releases were based on
|
2002-10-25 21:29:00 +00:00
|
|
|
it. This branch has the tag <literal>RELENG_4</literal> in the
|
|
|
|
CVS repository.</para>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>&os; 5.0 and 5.1 are based on the CURRENT branch. These
|
|
|
|
are the first releases from this branch in over two years (the
|
2002-10-29 00:59:36 +00:00
|
|
|
last was &os; 4.0, in March 2000).</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-29 00:59:36 +00:00
|
|
|
<para>At some point after the release of &os; 5.0, a
|
|
|
|
<quote>5-STABLE</quote> branch will be created in the &os;
|
2002-10-25 21:29:00 +00:00
|
|
|
CVS repository with the branch tag <literal>RELENG_5</literal>.
|
|
|
|
The past two stable branches (3-STABLE and 4-STABLE) were
|
|
|
|
created immediately after their respective <quote>dot-oh</quote>
|
|
|
|
releases (3.0 and 4.0, respectively). In hindsight, this
|
2003-05-03 22:14:55 +00:00
|
|
|
practice did not give sufficient time for either CURRENT
|
|
|
|
to stabilize before the new branches were
|
|
|
|
created. This in turn resulted in wasted effort porting bug
|
|
|
|
fixes between branches, as well as some architectural changes
|
|
|
|
that could not be ported between branches at all.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
|
|
|
<para>Therefore, the release engineering team will only create the
|
2003-05-03 22:14:55 +00:00
|
|
|
5-STABLE branch in the CVS repository after we have found a
|
2002-10-25 21:29:00 +00:00
|
|
|
relatively stable state to use as its basis. It is likely that
|
|
|
|
there will be
|
2003-05-03 22:14:55 +00:00
|
|
|
multiple releases in the &release.5x; series
|
2002-10-25 21:29:00 +00:00
|
|
|
before this happens; we estimate
|
|
|
|
that the 5-STABLE branch will be created sometime after
|
2003-05-03 22:14:55 +00:00
|
|
|
5.2-RELEASE.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-29 00:59:36 +00:00
|
|
|
<para>More information on &os; release engineering processes can be found
|
2002-10-25 21:29:00 +00:00
|
|
|
on the <ulink
|
|
|
|
url="http://www.FreeBSD.org/releng/index.html">Release
|
2003-05-03 22:14:55 +00:00
|
|
|
Engineering Web pages</ulink> and in the <ulink
|
|
|
|
url="http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/releng/index.html"><quote>&os; Release
|
|
|
|
Engineering</quote></ulink> article. Specific issues for the upcoming
|
|
|
|
5-STABLE development branch can be found in <ulink
|
|
|
|
url="http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html"><quote>The
|
|
|
|
Roadmap for 5-STABLE</quote></ulink>.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
</sect1>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2003-01-12 18:23:15 +00:00
|
|
|
<sect1 id="new">
|
2002-10-25 21:29:00 +00:00
|
|
|
<title>New Features</title>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>A large attraction of &os; &release.5x; is a number of new
|
2002-10-25 21:29:00 +00:00
|
|
|
features. These new features and functionality generally involve
|
|
|
|
large architectural changes that were not feasible to port back to
|
2002-10-29 00:59:36 +00:00
|
|
|
the &os; 4-STABLE development branch. (By contrast, many
|
2002-10-25 21:29:00 +00:00
|
|
|
self-contained enhancements, such as new device drivers or
|
|
|
|
userland utilities, have already been ported.) A brief, but not
|
|
|
|
exhaustive list includes:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>SMPng: The <quote>next generation</quote> support for
|
|
|
|
SMP machines (work in progress). There is now partial
|
|
|
|
support for multiple processors to be running in the kernel
|
2003-05-03 22:14:55 +00:00
|
|
|
at the same time. This work is ongoing.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>KSE: Kernel Scheduled Entities allow a single process
|
|
|
|
to have multiple kernel-level threads, similar to Scheduler
|
2003-05-03 22:14:55 +00:00
|
|
|
Activations. The (experimental) <filename>libkse</filename>
|
|
|
|
and <filename>libthr</filename> libraries make this
|
|
|
|
feature available to multi-threaded userland programs.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>New architectures: Support for the sparc64 and ia64
|
|
|
|
architectures, in addition to the i386, pc98, and
|
|
|
|
alpha.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2003-01-13 19:24:34 +00:00
|
|
|
<para>GCC: The compiler toolchain is now based on GCC
|
2003-05-03 22:14:55 +00:00
|
|
|
3.2.2, rather than GCC
|
2002-10-25 21:29:00 +00:00
|
|
|
2.95.<replaceable>X</replaceable>.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>MAC: Support for extensible, loadable Mandatory Access
|
|
|
|
Control policies.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>GEOM: A flexible framework for transformations of disk
|
|
|
|
I/O requests. An experimental disk encryption facility has
|
|
|
|
been developed based on GEOM.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>FFS: The FFS filesystem now supports background
|
|
|
|
&man.fsck.8; operations (for faster crash recovery) and
|
|
|
|
filesystem snapshots.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>UFS2: A new UFS2 on-disk format has been added, which
|
|
|
|
supports extended per-file attributes and larger file
|
2003-05-03 22:14:55 +00:00
|
|
|
sizes. UFS2 is now the default format for &man.newfs.8;.
|
|
|
|
On all platforms except for pc98, filesystems created from
|
|
|
|
within &man.sysinstall.8; will use UFS2 by default.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Cardbus: Support for Cardbus devices.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para>A more comprehensive list of new features can be found in
|
2003-05-03 22:14:55 +00:00
|
|
|
the release notes for &os; &release.prev; and &os; &release.current;.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
</sect1>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2003-01-12 18:23:15 +00:00
|
|
|
<sect1 id="drawbacks">
|
2002-10-25 21:29:00 +00:00
|
|
|
<title>Drawbacks to Early Adoption</title>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>Along with the new features of &os; &release.5x; come some areas
|
2002-10-25 21:29:00 +00:00
|
|
|
that can cause problems, or at least can lead to unexpected
|
|
|
|
behavior. Generally, these come from the fact that a number of
|
|
|
|
features are works-in-progress. A partial list of these
|
|
|
|
areas of difficulty includes:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>A number of features are not yet finished. Examples
|
2003-05-03 22:14:55 +00:00
|
|
|
from the feature list above include SMPng and KSE. While
|
|
|
|
suitable for testing and experimentation, these features may
|
|
|
|
not be ready for production use.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Because of changes in kernel data structures and
|
|
|
|
ABIs/APIs, third-party binary device drivers will require
|
2002-11-28 19:50:56 +00:00
|
|
|
modifications to work correctly under &os; 5.0. There is
|
|
|
|
a possibility of more minor ABI/API changes before the
|
|
|
|
5-STABLE branch is created.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2002-10-29 00:59:36 +00:00
|
|
|
<para>Several parts of &os;'s base system functionality
|
2002-10-25 21:29:00 +00:00
|
|
|
have been moved to the Ports Collection. Notable examples
|
|
|
|
include <application>Perl</application>,
|
|
|
|
<application>UUCP</application>, and most (but not all)
|
|
|
|
games. While these programs are still supported, their
|
|
|
|
removal from the base system may cause some confusion.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<listitem>
|
|
|
|
<para>Some parts of the &os; base system have fallen into a
|
|
|
|
state of disrepair due to a lack of users and maintainers.
|
|
|
|
These have been removed. Specific examples include the
|
|
|
|
generation of a.out-style executables, XNS networking
|
|
|
|
support, and the X-10 controller driver.</para>
|
|
|
|
</listitem>
|
|
|
|
|
2002-10-25 21:29:00 +00:00
|
|
|
<listitem>
|
|
|
|
<para>A number of ports and packages do not build or do not
|
2002-10-29 00:59:36 +00:00
|
|
|
run correctly under &os; 5.0, whereas they did under &os;
|
2002-10-25 21:29:00 +00:00
|
|
|
4-STABLE. Generally these problems are caused by compiler
|
|
|
|
toolchain changes or cleanups of header files.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>Many &os; &release.5x; features are
|
2002-10-25 21:29:00 +00:00
|
|
|
seeing wide exposure for the first time. Many of these
|
|
|
|
features (such as SMPng) have broad impacts on the
|
|
|
|
kernel.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>A certain amount of debugging and diagnostic code is
|
2002-10-29 00:59:36 +00:00
|
|
|
still in place to help track down problems in &os; 5.0's new
|
|
|
|
features. This may cause &os; 5.0 to perform more slowly
|
2002-10-25 21:29:00 +00:00
|
|
|
than 4-STABLE.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Features are only added to the 4-STABLE development
|
|
|
|
branch after a <quote>settling time</quote> in -CURRENT.
|
2002-10-29 00:59:36 +00:00
|
|
|
&os; 5.0 does not have the stabilizing influence of a
|
2002-10-25 21:29:00 +00:00
|
|
|
-STABLE branch. (It is likely that the 5-STABLE development
|
2003-05-03 22:14:55 +00:00
|
|
|
branch will be created sometime after
|
2002-10-25 21:29:00 +00:00
|
|
|
5.2-RELEASE.)</para>
|
|
|
|
</listitem>
|
|
|
|
|
2002-11-28 19:50:56 +00:00
|
|
|
<listitem>
|
|
|
|
<para>Documentation (such as the &os; <ulink
|
|
|
|
url="http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/index.html">Handbook</ulink>
|
|
|
|
and <ulink
|
|
|
|
url="http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/index.html">FAQ</ulink>)
|
2003-05-03 22:14:55 +00:00
|
|
|
may not reflect changes recently made to &os; &release.5x;.</para>
|
2002-11-28 19:50:56 +00:00
|
|
|
</listitem>
|
|
|
|
|
2002-10-25 21:29:00 +00:00
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para>Because a number of these drawbacks affect system stability, the
|
|
|
|
release engineering team recommends that more conservative sites
|
|
|
|
and users stick to releases based on the 4-STABLE branch until
|
2003-05-03 22:14:55 +00:00
|
|
|
the &release.5x; series is more polished.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
</sect1>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2003-01-12 18:23:15 +00:00
|
|
|
<sect1 id="plans-stable">
|
2002-10-25 21:29:00 +00:00
|
|
|
<title>Plans for the 4-STABLE Branch</title>
|
|
|
|
|
2002-10-29 00:59:36 +00:00
|
|
|
<para>The release of &os; 5.0 does not mean the end of the
|
2003-05-03 22:14:55 +00:00
|
|
|
4-STABLE branch. Indeed, &os; 4.8 was released two months after
|
|
|
|
5.0, in April 2003. There will most likely be at least one more release on
|
2003-04-07 11:15:14 +00:00
|
|
|
this branch, namely 4.9-RELEASE, currently scheduled for summer
|
2003-05-03 22:14:55 +00:00
|
|
|
2003.
|
|
|
|
A 4.10-RELEASE is a likely possibility as well.
|
|
|
|
Future releases from this branch will
|
2002-10-25 21:29:00 +00:00
|
|
|
depend on several factors. The most important of these
|
|
|
|
is the existence and stability of the 5-STABLE branch. If
|
|
|
|
CURRENT is not sufficiently stable to allow the creation of a
|
|
|
|
5-STABLE branch, this may require and permit more releases from
|
|
|
|
the 4-STABLE branch. Until the last declared release
|
2003-05-03 22:14:55 +00:00
|
|
|
on the 4-STABLE branch, new features may be merged from <literal>HEAD</literal> at
|
2002-10-25 21:29:00 +00:00
|
|
|
the discretion of developers, subject to existing release
|
|
|
|
engineering policies.</para>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>To some extent, the release engineering team (as well as the
|
|
|
|
developer community as a whole) will take into
|
2002-10-25 21:29:00 +00:00
|
|
|
account user demand for future 4-STABLE releases. This demand,
|
|
|
|
however, will need to be balanced with release engineering
|
2003-05-03 22:14:55 +00:00
|
|
|
resources (particularly developers' time, computing resources, and mirror
|
2002-10-25 21:29:00 +00:00
|
|
|
archive space).</para>
|
|
|
|
|
|
|
|
<para>The &a.security-officer; will continue to support releases
|
|
|
|
made from the 4-STABLE branch in accordance with their published
|
|
|
|
policies, which can be found on the <ulink
|
|
|
|
url="http://www.FreeBSD.org/security/index.html">Security
|
2002-10-29 00:59:36 +00:00
|
|
|
page</ulink> on the &os; web site. Generally, the two most
|
2002-10-25 21:29:00 +00:00
|
|
|
recent releases from any branch will be supported with respect
|
|
|
|
to security advisories and security fixes. At its discretion,
|
2003-05-03 22:14:55 +00:00
|
|
|
the team may support other releases for specific issues.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
</sect1>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2003-01-12 18:23:15 +00:00
|
|
|
<sect1 id="upgrade">
|
2003-05-03 22:14:55 +00:00
|
|
|
<title>Notes on Upgrading from &os; &release.4x;</title>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-29 00:59:36 +00:00
|
|
|
<para>For those users with existing &os; systems, this section
|
|
|
|
offers a few notes on upgrading a &os;
|
2003-05-03 22:14:55 +00:00
|
|
|
&release.4x; system to
|
|
|
|
&release.5x;. As with any &os; upgrade, it
|
2002-10-25 21:29:00 +00:00
|
|
|
is crucial to read the release notes and the errata for the
|
|
|
|
version in question, as well as
|
2003-05-03 22:14:55 +00:00
|
|
|
<filename>src/UPDATING</filename> in the case of source upgrades.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
<sect2>
|
2002-10-25 21:29:00 +00:00
|
|
|
<title>Binary Upgrades</title>
|
|
|
|
|
|
|
|
<para>Probably the most straightforward approach is that of
|
|
|
|
<quote>backup everything, reformat, reinstall, and restore
|
|
|
|
everything</quote>. This eliminates problems of incompatible
|
|
|
|
or obsolete executables or configuration files polluting the
|
2003-05-03 22:14:55 +00:00
|
|
|
new system. It allows new filesystems to be created to take
|
|
|
|
advantage of new functionality (most notably, the UFS2
|
|
|
|
defaults).</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
|
|
|
<para>As of this time, the binary upgrade option in
|
|
|
|
&man.sysinstall.8; has not been well-tested for
|
|
|
|
cross-major-version upgrades. Using this feature is not
|
2002-11-28 19:50:56 +00:00
|
|
|
recommended. In particular, a binary upgrade will leave
|
|
|
|
behind a number of files that are present in &os;
|
2003-05-03 22:14:55 +00:00
|
|
|
&release.4x; but not in &release.5x;. These obsolete
|
2002-11-28 19:50:56 +00:00
|
|
|
files may create some problems.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
|
|
|
<para>On the i386 and pc98 platforms, a UserConfig utility
|
|
|
|
exists on 4-STABLE to allow boot-time configuration of ISA
|
2002-10-29 00:59:36 +00:00
|
|
|
devices when booting from installation media. Under &os;
|
2002-10-25 21:29:00 +00:00
|
|
|
5.0, this functionality has been replaced in part by the
|
|
|
|
&man.device.hints.5; mechanism (it allows specifying the same
|
2002-11-28 19:50:56 +00:00
|
|
|
parameters, but with a very different interface).</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
|
|
|
<para>Floppy-based binary installations may require downloading
|
|
|
|
a third, new floppy image holding additional device drivers
|
|
|
|
in kernel modules. This <filename>drivers.flp</filename>
|
|
|
|
floppy image will generally be found in the same location as
|
|
|
|
the usual <filename>kern.flp</filename> and
|
|
|
|
<filename>mfsroot.flp</filename> floppy images.</para>
|
|
|
|
|
|
|
|
<para>CDROM-based installations on the i386 architecture now use
|
|
|
|
a <quote>no-emulation</quote> boot loader. This allows, among
|
|
|
|
other things, the use of a <literal>GENERIC</literal> kernel,
|
|
|
|
rather than the stripped-down kernel on the floppy images. In
|
|
|
|
theory, any system capable of booting the Microsoft Windows NT
|
2002-10-29 00:59:36 +00:00
|
|
|
4 installation CDROMs should be able to cope with the &os;
|
2003-05-03 22:14:55 +00:00
|
|
|
&release.5x; CDROMs.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
</sect2>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
<sect2>
|
2002-10-25 21:29:00 +00:00
|
|
|
<title>Source Upgrades</title>
|
|
|
|
|
|
|
|
<para>Reading <filename>src/UPDATING</filename> is absolutely
|
|
|
|
essential. The section entitled <quote>To upgrade from
|
|
|
|
4.x-stable to current</quote> contains a step-by-step update
|
|
|
|
procedure. This procedure must be followed exactly, without
|
2002-11-03 22:06:48 +00:00
|
|
|
making use of the <quote>shortcuts</quote> that some users
|
2002-10-25 21:29:00 +00:00
|
|
|
occasionally employ.</para>
|
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
</sect2>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
<sect2>
|
2002-10-25 21:29:00 +00:00
|
|
|
<title>Common Notes</title>
|
|
|
|
|
|
|
|
<para><application>Perl</application> has been removed from the
|
2003-01-13 19:24:34 +00:00
|
|
|
base system, and should be installed either
|
2002-10-25 21:29:00 +00:00
|
|
|
from a pre-built package or from the Ports Collection.
|
|
|
|
Building Perl as a part of the base system created a number of
|
|
|
|
difficulties which made updates problematic.
|
|
|
|
The base system utilities that used Perl have either
|
|
|
|
been rewritten (if still applicable) or discarded (if
|
2003-01-13 19:24:34 +00:00
|
|
|
obsolete). &man.sysinstall.8; will now install the
|
|
|
|
Perl package as a part of most distribution sets, so most
|
|
|
|
users will not notice this change.</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
|
|
|
<para>It is generally possible to run old
|
2003-05-03 22:14:55 +00:00
|
|
|
&release.4x; executables under
|
|
|
|
&release.5x;, but this requires the
|
2002-10-25 21:29:00 +00:00
|
|
|
<filename>compat4x</filename> distribution to be installed.
|
|
|
|
Thus, using old ports <emphasis>may</emphasis> be
|
|
|
|
possible.</para>
|
|
|
|
|
|
|
|
<para>When installing or upgrading over the top of an existing
|
|
|
|
4-STABLE-based system, it is extremely important to clear out
|
|
|
|
old header files in <filename>/usr/include</filename>.
|
|
|
|
Renaming or moving this directory before a binary installation
|
|
|
|
or an <literal>installworld</literal> is generally
|
|
|
|
sufficient. If this step is not taken, confusion may result
|
|
|
|
(especially with C++ programs) as the compiler may wind up
|
|
|
|
using a mixture of obsolete and current header files.</para>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para><filename>MAKEDEV</filename> is no longer available, nor
|
|
|
|
is it required.
|
|
|
|
FreeBSD &release.5x; uses a device filesystem, which automatically
|
|
|
|
creates device nodes on demand. For more information,
|
2003-04-07 11:20:24 +00:00
|
|
|
please see &man.devfs.5;.</para>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>UFS2 is the default on-disk format for file systems
|
|
|
|
created using &man.newfs.8;. For all platforms except pc98,
|
|
|
|
it is also the default for file systems created using the disk
|
|
|
|
labeling screen within &man.sysinstall.8;. Because &os;
|
|
|
|
&release.4x; only understands UFS1 (not UFS2), disk partitions
|
|
|
|
that need to be accessed by both &release.5x; and &release.4x;
|
|
|
|
must be created with UFS1. This can be specified using the
|
|
|
|
<option>-O1</option> option to &man.newfs.8;, or on the disk
|
|
|
|
labeling screen in &man.sysinstall.8;. This situation most
|
|
|
|
often arises with a a single machine that dual-boots &os;
|
|
|
|
&release.4x; and &os; &release.5x;. Note that there is no way
|
|
|
|
to convert file systems between the two on-disk formats (other
|
|
|
|
than backing up, re-creating the file system, and
|
|
|
|
restoring).</para>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
</sect2>
|
2002-10-25 21:56:05 +00:00
|
|
|
</sect1>
|
2002-10-25 21:29:00 +00:00
|
|
|
|
2003-01-12 18:23:15 +00:00
|
|
|
<sect1 id="summary">
|
2002-10-25 21:29:00 +00:00
|
|
|
|
|
|
|
<title>Summary</title>
|
|
|
|
|
2003-05-03 22:14:55 +00:00
|
|
|
<para>While &os; &release.current; contains a number of new and exciting
|
2002-10-25 21:29:00 +00:00
|
|
|
features, it may not be suitable for all users at this time. In
|
|
|
|
this document, we presented some background on release
|
2003-05-03 22:14:55 +00:00
|
|
|
engineering, some of the more notable new features of the &release.5x;
|
2002-10-25 21:29:00 +00:00
|
|
|
series, and some drawbacks to early adoption. We also presented
|
|
|
|
some future plans for the 4-STABLE development branch and some
|
|
|
|
tips on upgrading for early adopters.</para>
|
|
|
|
|
2002-10-25 21:56:05 +00:00
|
|
|
</sect1>
|
2002-10-25 21:29:00 +00:00
|
|
|
</article>
|