Binary Compatibility

Sun is providing the Binary Compatibility Package (BCP) to aid in users transition from SunOS 4.x to 5.x. Here is a list of what the BCP actually does (courtesy of ups.ucn.purdue.edu):

Since we are still in the process of upgrading (i.e. only Holly has been upgraded), use of this package is expected. However, when the machine you use has been upgraded, you should recompile your applications.

SunOS 4.x and the Equivalent SunOS 5.x Commands

Here is a brief list of SunOS 4.x commands and their SunOS 5.x equivalents (taken from the Solaris FAQ):

SunOS 4.x SunOS 5.x
add_services pkgadd
arch uname -m
bar Not available.
Use cpio -H bar to retrieve SunOS 4.x archives.
biff -y chmod o+x /dev/tty
biff -n chmod o-x /dev/tty
cc Not available. Use GNU's gcc.
dbxtool debugger (I can't find this, use gdb)
devinfo prtconf
df df -k
du du -k
dump /usr/sbin/ufsdump
etherfind snoop
exportfs share (exportfs is supplied in /usr/ucb)
extract_unbundled pkgadd
reboot reboot or init 6
fasthalt init 0
hostid sysdef -h
hostname uname -n
lpc lpadmin
lpd lpsched
lpq lpstat
lpr lp
lprm cancel
mach uname -p
make /usr/ccs/make or GNU's make
mount -t mount -F
mountall mount -a
ps -a ps -e
ps -aux ps -efl
pstat sar
pstat -s swap -s
restore /usr/sbin/ufsrestore
showmount dfmounts
swapon swap -a
uptime who -b
users who -q
vipw Not available
whereis Not available
whoami id

©1996 kevin mcfadden