Solaris Transition Guide

Examples

Table A-1 through Table A-4 show sample table entries and are followed by an interpretation

Table A-1 Table Entry Example 1

SunOS Release 4.x Command 

SunOS release 5.7 Status 

Alternative Available and Notes 

BSD 

fasthalt(8)

A 

The init 0 command provides similar capabilities

S 

The fasthalt command is not available in the Solaris 7 base release. This command is available if you install the SunOS/BSD Compatibility package on your system. The init 0 command replaces fasthalt. If you use the compatibility package fasthalt command in scripts or applications, they will not work on other SVR4 systems. Compatibility package commands can be found in /usr/ucb on systems that have this package installed, and they are documented in section 1B of man Pages(1): User Commands; for example, fasthalt(1B).

Table A-2 Table Entry Example 2

SunOS Release 4.x Command 

SunOS release 5.7 Status 

Alternative Available and Notes 

BSD 

cc(1V)

N 

The C compiler is only available with the C language unbundled tools. 

C 

The C compiler is not available in the SunOS release 5.7 software. A C compiler is available with the SunOS/BSD Compatibility package, but it requires the unbundled C compiler and does not provide the same interface and output as the SunOS release 4.x compiler.

Table A-3 Table Entry Example 3

SunOS Release 4.x Command 

SunOS release 5.7 Status 

Alternative Available and Notes 

BSD 

date(1V) -- SysV

S 

 

N 

date(1V)

C 

The format used when setting the date is slightly different in SunOS release 5.7. See the date(1) man page for more information. 

N 

The SunOS release 4.x software had two date commands: /usr/5bin/date (compared in the SysV entry) and /usr/bin/date (compared in the second entry). The /usr/5bin/date command is identical to the SunOS release 5.7 command. If you had /usr/5bin in your path before /usr/bin, you will not notice any difference in this command in the SunOS release 5.7 software. If you are accustomed to using the SunOS release 4.x /usr/bin/date command, you should look at the SunOS release 5.7 date(1) man page before attempting to set the date on your system.

Table A-4 Table Entry Example 4

SunOS Release 4.x Command 

SunOS release 5.7 Status 

Alternative Available and Notes 

BSD 

rev(1)

N 

 

N 

The SunOS 4.2 rev command is not available in the SunOS release 5.7 software or the BSD release. There is no replacement command available.