Jump to content

UNIX System V

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 186.156.74.97 (talk) at 22:28, 9 August 2020 (Rivalry with BSD: fixed typo). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Unix System V
HP 9000 workstation booting HP-UX, Hewlett-Packard's System V
DeveloperAT&T Corporation
OS familyUnix
Working stateHistoric
Source modelClosed source
Initial release1983; 41 years ago (1983)

Unix System V (pronounced: "System Five") is one of the first commercial versions of the Unix operating system. It was originally developed by AT&T and first released in 1983. Four major versions of System V were released, numbered 1, 2, 3, and 4. System V Release 4 (SVR4) was commercially the most successful version, being the result of an effort, marketed as Unix System Unification, which solicited the collaboration of the major Unix vendors. It was the source of several common commercial Unix features. System V is sometimes abbreviated to SysV.

As of 2020, the AT&T-derived Unix market is divided between three System V variants: IBM's AIX, Hewlett-Packard's HP-UX and Oracle's Solaris.[1]

Overview

Introduction

Unix history tree
AT&T System V license plate

System V was the successor to 1982's UNIX System III. While AT&T developed and sold hardware that ran System V, most customers ran a version from a reseller, based on AT&T's reference implementation. A standards document called the System V Interface Definition outlined the default features and behavior of implementations.

AT&T support

During the formative years of AT&T's computer business, the division went through several phases of System V software groups, beginning with the Unix Support Group (USG), followed by Unix System Development Laboratory (USDL), followed by AT&T Information Systems (ATTIS), and finally Unix System Laboratories (USL).

Rivalry with BSD

In the 1980s and early-1990s, UNIX System V and the Berkeley Software Distribution (BSD) were the two major versions of UNIX. Historically, BSD was also commonly called "BSD Unix" or "Berkeley Unix".[2] Eric S. Raymond summarizes the longstanding relationship and rivalry between System V and BSD during the early period:[3]

In fact, for years after divestiture the Unix community was preoccupied with the first phase of the Unix wars – an internal dispute, the rivalry between System V Unix and BSD Unix. The dispute had several levels, some technical (sockets vs. streams, BSD tty vs. System V termio) and some cultural. The divide was roughly between longhairs and shorthairs; programmers and technical people tended to line up with Berkeley and BSD, more business-oriented types with AT&T and System V.

While HP, IBM and others chose System V as the basis for their Unix offerings, other vendors such as Sun Microsystems and DEC extended BSD. Throughout its development, though, System V was infused with features from BSD, while BSD variants such as DEC's Ultrix received System V features. AT&T and Sun Microsystems worked together to merge System V with BSD-based SunOS to produce Solaris, one of the primary System V descendants still in use today[when?]. Since the early 1990s, due to standardization efforts such as POSIX and the commercial success of Linux, the division between System V and BSD has become less important.

Releases

DMD 5620 terminal, based on the Blit, connected to a SVR3 host and showing the Layers interface

SVR1

System V, known inside Bell Labs as Unix 5.0, succeeded AT&T's previous commercial Unix called System III in January, 1983.[4] Unix 4.0 was never released externally, which would have been designated as System IV.[5][6][7] This first release of System V (called System V.0, System V Release 1, or SVR1) was developed by AT&T's UNIX Support Group (USG) and based on the Bell Labs internal USG UNIX 5.0.

System V also included features such as the vi editor and curses from 4.1 BSD, developed at the University of California, Berkeley; it also improved performance by adding buffer and inode caches. It also added support for inter-process communication using messages, semaphores, and shared memory, developed earlier for the Bell-internal CB UNIX.[8]

SVR1 ran on DEC PDP-11 and VAX minicomputers.

SVR2

The DEC VAX-11/780 was the porting base for SVR2

AT&T's UNIX Support Group (USG) transformed into the UNIX System Development Laboratory (USDL), which released System V Release 2 in 1984. SVR2 added shell functions and the SVID. SVR2.4 added demand paging, copy-on-write, shared memory, and record and file locking.

The concept of the "porting base" was formalized, and the DEC VAX-11/780 was chosen for this release. The "porting base" is the so-called original version of a release, from which all porting efforts for other machines emanate.

Educational source licenses for SVR2 were offered by AT&T for US$800 for the first CPU, and $400 for each additional CPU. A commercial source license was offered for $43,000, with three months of support, and a $16,000 price per additional CPU.[9]

Apple Computer's A/UX operating system was initially based on this release. SCO XENIX also used SVR2 as its basis. The first release of HP-UX was also an SVR2 derivative.[10]: 33 

Maurice J. Bach's book, The Design of the UNIX Operating System, is the definitive description of the SVR2 kernel.[11]

SVR3

The AT&T 3B2 line of minicomputers was the porting base for SVR3

AT&T's UNIX System Development Laboratory (USDL) was succeeded by AT&T Information Systems (ATTIS), which distributed UNIX System V, Release 3, in 1987.[12] SVR3 included STREAMS, Remote File Sharing (RFS), the File System Switch (FSS) virtual file system mechanism, a restricted form of shared libraries, and the Transport Layer Interface (TLI) network API. The final version was Release 3.2 in 1988, which added binary compatibility to Xenix on Intel platforms (see Intel Binary Compatibility Standard).

User interface improvements included the "layers" windowing system for the DMD 5620 graphics terminal, and the SVR3.2 curses libraries that offered eight or more color pairs and other at this time important features (forms, panels, menus, etc.). The AT&T 3B2 became the official "porting base."

SCO UNIX was based upon SVR3.2, as was ISC 386/ix. Among the more obscure distributions of SVR3.2 for the 386 were ESIX 3.2 by Everex and "System V, Release 3.2" sold by Intel themselves; these two shipped "plain vanilla" AT&T's codebase.[13]

IBM's AIX operating system is an SVR3 derivative.

SVR4

HP 9000 C110 running HP-UX in console mode
OpenWindows, an early desktop environment for SVR4
HP 9000 735 running HP-UX with the Common Desktop Environment (CDE)
A GNOME-based OpenSolaris desktop
Sun Ultra 20 with Solaris 10

System V Release 4.0 was announced on October 18, 1988[14] and was incorporated into a variety of commercial Unix products from early 1989 onwards.[4] A joint project of AT&T Unix System Laboratories and Sun Microsystems, it combined technology from:

New features included:

Many companies licensed SVR4 and bundled it with computer systems such as workstations and network servers. SVR4 systems vendors included Atari (Atari System V), Commodore (Amiga Unix), Data General (DG/UX), Fujitsu (UXP/DS), Hitachi (HI-UX), Hewlett-Packard (HP-UX), NCR (Unix/NS), NEC (EWS-UX, UP-UX, UX/4800, SUPER-UX), OKI (OKI System V), Pyramid Technology (DC/OSx), SGI (IRIX), Siemens (SINIX), Sony (NEWS-OS), Sumitomo Electric Industries (SEIUX), and Sun Microsystems (Solaris) with illumos in the 2010s as the only open-source platform.

Software porting houses also sold enhanced and supported Intel x86 versions. SVR4 software vendors included Dell (Dell UNIX),[16] Everex (ESIX), Micro Station Technology (SVR4), Microport (SVR4), and UHC (SVR4).[17]

The primary platforms for SVR4 were Intel x86 and SPARC; the SPARC version, called Solaris 2 (or, internally, SunOS 5.x), was developed by Sun. The relationship between Sun and AT&T was terminated after the release of SVR4, meaning that later versions of Solaris did not inherit features of later SVR4.x releases. Sun would in 2005 release most of the source code for Solaris 10 (SunOS 5.10) as the open-source OpenSolaris project, creating, with its forks, the only open-source (albeit heavily modified) System V implementation available. After Oracle took over Sun, Solaris was forked into proprietary release, but illumos as the continuation project is being developed in open-source.

A consortium of Intel-based resellers including Unisys, ICL, NCR Corporation, and Olivetti developed SVR4.0MP with multiprocessing capability (allowing system calls to be processed from any processor, but interrupt servicing only from a "master" processor).[18]

Release 4.1 ES (Enhanced Security) added security features required for Orange Book B2 compliance and Access Control Lists and support for dynamic loading of kernel modules.[19][20]

SVR4.2 / UnixWare

In 1992, AT&T USL engaged in a joint venture with Novell, called Univel. That year saw the release System V.4.2 as Univel UnixWare, featuring the Veritas File System. Other vendors included UHC and Consensys. Release 4.2MP, completed late 1993, added support for multiprocessing and it was released as UnixWare 2 in 1995.[21]

Eric S. Raymond warned prospective buyers about SVR4.2 versions, as they often did not include on-line man pages. In his 1994 buyers guide, he attributes this change in policy to Unix System Laboratories.[22]

SVR5 / UnixWare 7

The Santa Cruz Operation (SCO), owners of Xenix, eventually acquired the UnixWare trademark and the distribution rights to the System V Release 4.2 codebase from Novell, while other vendors (Sun, IBM, HP) continued to use and extend System V Release 4. Novell transferred ownership of the Unix trademark to The Open Group. Any operating system that meets the Single Unix Specification (SUS), effectively a successor to the System V Interface Definition, may be granted Unix rights. The SUS is met by Apple's macOS, a BSD derivative, as well as several other operating systems not derived from either BSD or System V.

System V Release 5 was developed in 1997 by the Santa Cruz Operation (SCO) as a merger of SCO OpenServer (an SVR3-derivative) and UnixWare, with a focus on large-scale servers.[10]: 23, 32  It was released as SCO UnixWare 7. SCO's successor, The SCO Group, also based SCO OpenServer 6 on SVR5, but the codebase is not used by any other major developer or reseller.

SVR6 (cancelled)

System V Release 6 was announced by SCO to be released by the end of 2004, but was apparently cancelled.[23] It was supposed to support 64-bit systems.[24] The industry has coalesced around The Open Group's Single UNIX Specification version 3 (UNIX 03). See also: Smallfoot

Market position

The MATE desktop on OpenIndiana, an SVR4 derivative

Availability during the 1990s on x86 platforms

In the 1980s and 1990s, a variety of SVR4 versions of Unix were available commercially for the x86 PC platform. However, the market for commercial Unix on PCs declined after Linux and BSD became widely available. In late 1994, Eric S. Raymond discontinued his PC-clone UNIX Software Buyer's Guide on USENET, stating, "The reason I am dropping this is that I run Linux now, and I no longer find the SVr4 market interesting or significant."[25]

In 1998, a confidential memo at Microsoft stated, "Linux is on track to eventually own the x86 UNIX market", and further predicted, "I believe that Linux – moreso than NT – will be the biggest threat to SCO in the near future."[26]

An InfoWorld article from 2001 characterized SCO UnixWare as having a "bleak outlook" due to being "trounced" in the market by Linux and Solaris, and IDC predicted that SCO would "continue to see a shrinking share of the market".[27]

Project Monterey

Project Monterey was started in 1998 to combine major features of existing commercial Unix platforms, as a joint project of Compaq, IBM, Intel, SCO, and Sequent Computer Systems. The target platform was meant to be Intel's new IA-64 architecture and Itanium line of processors. However, the project was abruptly canceled in 2001 after little progress.[28]

System V and the Unix market

By 2001, several major Unix variants such as SCO UnixWare, Compaq Tru64 UNIX, and SGI IRIX were all in decline.[27] The three major Unix versions doing well in the market were IBM AIX, Hewlett-Packard's HP-UX, and Sun's Solaris.[27]

In 2006, when SGI declared bankruptcy, analysts questioned whether Linux would replace proprietary Unix altogether. In a 2006 article written for Computerworld by Mark Hall, the economics of Linux were cited as a major factor driving the migration from Unix to Linux:[29]

Linux's success in high-end, scientific and technical computing, like Unix's before it, preceded its success in your data center. Once Linux proved itself by executing the most complex calculations possible, IT managers quickly grasped that it could easily serve Web pages and run payroll. Naturally, it helps to be lucky: Free, downloadable Linux's star began to rise during one of the longest downturns in IT history. With companies doing more with less, one thing they could dump was Unix.

The article also cites trends in high-performance computing applications as evidence of a dramatic shift from Unix to Linux:[29]

A look at the Top500 list of supercomputers tells the tale best. In 1998, Unix machines from Sun and SGI combined for 46% of the 500 fastest computers in the world. Linux accounted for one (0.2%). In 2005, Sun had 0.8% — or four systems — and SGI had 3.6%, while 72% of the Top500 ran Linux.

In a November 2015 survey of the top 500 supercomputers, Unix was used by only 1.2% (all running IBM AIX), while Linux was used by 98.8%; the same survey in November 2017 reports 100% of them using Linux.[30]

System V derivatives continued to be deployed on some proprietary server platforms. The principal variants of System V that remain in commercial use are AIX (IBM), Solaris (Oracle), and HP-UX (HP). According to a study done by IDC, in 2012 the worldwide Unix market was divided between IBM (56%), Oracle (19.2%), and HP (18.6%). No other commercial Unix vendor had more than 2% of the market.[1] Industry analysts generally characterize proprietary Unix as having entered a period of slow but permanent decline.[31]

OpenSolaris and illumos distributions

OpenSolaris and its derivatives are the only SVR4 descendants that are open-source software. Core system software continues to be developed as illumos used in illumos distributions such as SmartOS, OpenIndiana and others.

System V compatibility

The System V interprocess communication mechanisms are available in Unix-like operating systems not derived from System V; in particular, in Linux[8][32] (a reimplementation of Unix) as well as the BSD derivative FreeBSD.[33] POSIX 2008 specifies a replacement for these interfaces.[8]

FreeBSD maintains a binary compatibility layer for the COFF format, which allows FreeBSD to execute binaries compiled for some SVR3.2 derivatives such as SCO UNIX and Interactive UNIX.[34] Modern System V, Linux, and BSD platforms use the ELF file format for natively compiled binaries.

References

  1. ^ a b "The Last Days of Unix". Network World. 19 August 2013. Retrieved 26 Jun 2014.
  2. ^ Garfinkel, Simson. Spafford, Gene. Schwartz, Alan. Practical UNIX and Internet Security. 2003. pp. 15-20
  3. ^ Raymond, Eric S. The Art of Unix Programming. 2003. p. 38
  4. ^ a b Lévénez, Éric. "Unix History (Unix Timeline)". Archived from the original on 2002-08-02. Retrieved 2010-12-29.
  5. ^ Overview of the XENIX 286 Operating System (PDF). Intel Corporation. November 1984. p. 1.10. There was no System IV.
  6. ^ Dale Dejager (1984-01-16). "UNIX History". Newsgroupnet.unix.
  7. ^ Tanenbaum, Andrew S. (2001). Modern Operating Systems (2nd ed.). Upper Saddle River, NJ: Prentice Hall. p. 675. ISBN 0-13-031358-0. Whatever happened to System IV is one of the great unsolved mysteries of computer science.
  8. ^ a b c Kerrisk, Michael (2010). The Linux Programming Interface. No Starch Press. p. 921.
  9. ^ "UNIX System V and add on applications prices" (PDF). AT&T International. 24 February 1983. Retrieved 27 April 2014.
  10. ^ a b Kenneth H. Rosen (1999). UNIX: The Complete Reference. McGraw-Hill Professional.
  11. ^ Bach, Maurice (1986), The Design of the UNIX Operating System, Prentice Hall, ISBN 0-13-201799-7
  12. ^ Marshall Kirk McKusick (2015), "History of the UNIX System", The Design and Implementation of the FreeBSD Operating System (2nd ed.), pp. 23–28
  13. ^ Jeff Tye (10 July 1989). Other OSs That Run Unix on a 386. InfoWorld. p. 62. ISSN 0199-6649.
  14. ^ "SEVERAL MAJOR COMPUTER AND SOFTWARE COMPANIES ANNOUNCE STRATEGIC COMMITMENT TO AT&T'S UNIX SYSTEM V, RELEASE 4.0" (Press release). Amdahl, Control Data Corporation, et al. October 18, 1988. Retrieved 2007-01-01.
  15. ^ Levine, John R. (2000) [October 1999]. "Chapter 10: Dynamic Linking and Loading". Linkers and Loaders. The Morgan Kaufmann Series in Software Engineering and Programming (1 ed.). San Francisco, USA: Morgan Kaufmann. ISBN 1-55860-496-0. OCLC 42413382. ISBN 978-1-55860-496-4. Archived from the original on 2012-12-05. Retrieved 2020-01-12. Code: [1][2] Errata: [3]
  16. ^ Technologists notes — A brief history of Dell UNIX, 10 January 2008, retrieved 2009-02-18
  17. ^ Eric S. Raymond, A buyer's guide to UNIX versions for PC-clone hardware, posted to Usenet November 16, 1994.
  18. ^ Unix Internatl. and USL release early version of SVR4 multiprocessing software, 17 June 1991, retrieved 2009-04-22
  19. ^ William Fellows (13 August 1992). "Unix International reviews the Unix System V.4 story so far". Computer Business Review. Retrieved 2008-10-31.
  20. ^ Bishop, Matt (December 2, 2002), Computer Security, Addison Wesley, p. 505, ISBN 0-201-44099-7
  21. ^ UnixWare 2 Product Announcement Questions& Answers, 1995
  22. ^ Eric S. Raymond (16 November 1994). "PC-clone UNIX Software Buyer's Guide". Retrieved 6 May 2014.
  23. ^ SCO updates Unix, OpenServer product plans InfoWorld, August 19, 2003
  24. ^ SCO UNIX Roadmap at Archive.is
  25. ^ Eric S. Raymond (16 November 1994). "PC-clone UNIX Software Buyer's Guide". Retrieved 3 February 2014.
  26. ^ Vinod Valloppillil (11 August 1998). "Open Source Software: A (New?) Development Methodology". Retrieved 3 February 2014.
  27. ^ a b c Tom Yager (19 November 2001). "Vital Signs for Unix". Computerworld. Retrieved 5 June 2015.
  28. ^ Raymond, Eric S. The Art of Unix Programming. 2003. p. 43
  29. ^ a b Mark Hall (15 May 2006), The End of Unix?, retrieved 5 June 2015
  30. ^ "TOP500 Supercomputer Sites - List Statistics". Retrieved 28 January 2016.
  31. ^ Patrick Thibodeau (12 December 2013). "As Unix fades away from data centers, it's unclear what's next". Retrieved 6 June 2015.
  32. ^ svipc(7) – Linux Programmer's Manual – Overview, Conventions and Miscellanea
  33. ^ msgsnd(2) – FreeBSD System Calls Manual
  34. ^ Lehey, Greg. The Complete FreeBSD: Documentation from the Source. 2003. pp. 164-165