The Solaris 2.5 environment includes SunOS 5.x system software. The following sections present a brief description of the differences between SunOS 4.x and SunOS 5.x for both users and system administrators.
Some of the more obvious differences between SunOS 4.x releases and the SunOS 5.x releases are:
Many UNIX commands have changed. For a detailed list, see Solaris 1.x to 2.x Transition Guide.
The printing subsystem has changed. For example:
The mail programs have changed. The SunOS 4.x mailboxes and folders are completely compatible with any of the three Solaris 2.3 mail programs:
The location or name of some system files has changed. For example:
For more information on the preceding topics, see Solaris 1.x to 2.x Transition Guide.
Some of the differences you will find in migrating to the SunOS 5.x environment from a SunOS 4.x environment are:
Solaris 2.5 software can be installed on SPARC systems only from a local or remote CD-ROM drive or from a network.
Solaris 2.5 software media is distributed in software groups, made up of packages and clusters, which facilitates installation. For the most up-to-date information on Solaris 2.5 packages use pkginfo(1) or swmtool.
Device-naming conventions have changed; disks, for example, are now named as follows:
Note that on some disks (xy, xd) there is no target component; such disks have names like c0d0s0.
The file system directory structure has changed. For example:
The kernel, called unix, and its related modules are stored in the /kernel directory.
The /opt directory is a new directory. It is created during installation for storing or mounting optional software applications.
The /devices directory is a hierarchy of device files, with symbolic links into the /dev directory for compatibility with the SunOS 4.x device naming conventions.
The Remote File Sharing service (RFS) optional software package has been discontinued since Solaris 2.2.
The SunOS 5.x kernel is dynamic; the user no longer rebuilds or edits the kernel configuration file.
The kernel can automatically load necessary drivers for new devices added to the system.
The Solaris 2.5 startup and shutdown procedures have changed:
The init(1M)command uses different scripts for each run level.
The shutdown command does not support any of the options available in SunOS 4.1 systems.
The fastboot(1B) and fasthalt(1b) commands are only available using the SunOS/BSD Source Compatibility Package.
Many commands have changed, as well as the output from commands. Scripts may need to be rewritten. For more information, see Solaris 1.x to 2.x Transition Guide.
NIS+ replaces the NIS, the Network Information Service name service; however, NIS+ uses NIS data, which makes it easier to transition to NIS+.
Administration Tool (admintool), Motif application that allows you to administer your local system, provides management of system database and host information, printers, serial ports, user accounts, and software.
The print management commands have changed. For a detailed list, see Solaris 1.x to 2.x Transition Guide.
Terminals and modems are controlled through the Service Access Facility (SAF) and System Access Controller (SAC); the /etc/ttytab file is gone.
The Solaris 2.5 environment provides two packages to ease the transition and migration to the SunOS 5.x system software for SPARC systems:
The SunOS/BSD Source Compatibility Package
The SunOS Binary Compatibility Package
If you use these packages, remember that they are a temporary transition aid only for
Developers who want to compile SunOS 4.x application source code to run in the Solaris 2.5 environment.
Users who want to run SunOS 4.x-based application binaries that have not yet been ported to run in a SVID-compliant environment such as the Solaris 2.5 environment.
If this software package is installed, it supports some of the SunOS/BSD commands that are not included in, or have changed in, the SunOS 5.x system software. Application source code that is compliant with the SunOS 4.x environment will compile and run under the Solaris 2.5 environment by using the SunOS/BSD Source Compatibility package.
For specific details, see Binary Compatibility Guide and Source Installation and Media Preparation Guide.
OpenWindows and other executable applications that are either dynamically linked or statically linked and written under SunOS 4.1.x [References to the "SunOS 4.1.x" release/environment include the SunOS 4.1 release and all subsequent 4.1 releases: 4.1.1, 4.1.1 RevB, 4.1.2, 4.1.3, and 4.1.3c.] are supported in the Solaris 2.5 environment through the SunOS Binary Compatibility Package and the OpenWindows Binary Compatibility Package.
To use these packages, applications written under SunOS 4.x must not: