home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / unix-faq / faq.part6 < prev    next >
Encoding:
Text File  |  1995-07-25  |  37.2 KB  |  903 lines

  1. Subject: Unix - Frequently Asked Questions (6/7) [Frequent posting]
  2. Newsgroups: comp.unix.questions,comp.unix.shell,comp.answers,news.answers
  3. From: tmatimar@isgtec.com (Ted Timar)
  4. Date: 18 Nov 1994 07:49:31 GMT
  5.  
  6. Archive-name: unix-faq/faq/part6
  7. Version: $Id: part6,v 2.5 1994/04/28 19:25:03 tmatimar Exp tmatimar $
  8.  
  9. These seven articles contain the answers to some Frequently Asked
  10. Questions often seen in comp.unix.questions and comp.unix.shell.
  11. Please don't ask these questions again, they've been answered plenty
  12. of times already - and please don't flame someone just because they may
  13. not have read this particular posting.  Thank you.
  14.  
  15. This collection of documents is Copyright (c) 1994, Ted Timar, except
  16. Part 6, which is Copyright (c) 1994, Pierre Lewis and Ted Timar.
  17. All rights reserved.  Permission to distribute the collection is
  18. hereby granted providing that distribution is electronic, no money
  19. is involved, reasonable attempts are made to use the latest version
  20. and all credits and this copyright notice are maintained.
  21. Other requests for distribution will be considered.  All reasonable
  22. requests will be granted.
  23.  
  24. All information here has been contributed with good intentions, but
  25. none of it is guaranteed either by the contributors or myself to be
  26. accurate.  The users of this information take all responsibility for
  27. any damage that may occur.
  28.  
  29. Many FAQs, including this one, are available on the archive site
  30. rtfm.mit.edu in the directory pub/usenet/news.answers.
  31. The name under which a FAQ is archived appears in the "Archive-Name:"
  32. line at the top of the article.  This FAQ is archived as
  33. "unix-faq/faq/part[1-7]".
  34.  
  35. These articles are divided approximately as follows:
  36.  
  37.       1.*) General questions.
  38.       2.*) Relatively basic questions, likely to be asked by beginners.
  39.       3.*) Intermediate questions.
  40.       4.*) Advanced questions, likely to be asked by people who thought
  41.            they already knew all of the answers.
  42.       5.*) Questions pertaining to the various shells, and the differences.
  43.       6.*) An overview of Unix variants.
  44.       7.*) An comparison of configuration management systems (RCS, SCCS).
  45.  
  46. This article includes answers to:
  47.  
  48.       6.1)  Disclaimer, introduction and acknowledgements.
  49.       6.2)  A very brief look at Unix history.
  50.       6.3)  Main Unix flavors.
  51.       6.4)  Unix Standards.
  52.       6.5)  Identifying your Unix flavor.
  53.       6.6)  Brief notes on some well-known (commercial/PD) Unices.
  54.       6.7)  Real-time Unices.
  55.       6.8)  Unix glossary.
  56.  
  57. If you're looking for the answer to, say, question 6.5, and want to skip
  58. everything else, you can search ahead for the regular expression "^6.5)".
  59.  
  60. While these are all legitimate questions, they seem to crop up in
  61. comp.unix.questions or comp.unix.shell on an annual basis, usually
  62. followed by plenty of replies (only some of which are correct) and then
  63. a period of griping about how the same questions keep coming up.  You
  64. may also like to read the monthly article "Answers to Frequently Asked
  65. Questions" in the newsgroup "news.announce.newusers", which will tell
  66. you what "UNIX" stands for.
  67.  
  68. With the variety of Unix systems in the world, it's hard to guarantee
  69. that these answers will work everywhere.  Read your local manual pages
  70. before trying anything suggested here.  If you have suggestions or
  71. corrections for any of these answers, please send them to to
  72. tmatimar@isgtec.com.
  73.  
  74. ----------------------------------------------------------------------
  75.  
  76. Subject: Disclaimer, introduction and acknowledgements.
  77. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  78. Date: Mon May 30 15:44:28 EDT 1994
  79. X-Version: 2.6
  80.  
  81. 6.1)  Disclaimer, introduction and acknowledgements.
  82.  
  83.       The following is offered with no guarantee as to accuracy or
  84.       completeness.  I have done what I can in the time available,
  85.       often with conflicting information, and it still is very much work
  86.       in progress.  I hope to keep improving this summary.  Comments and
  87.       corrections welcome:  lew@bnr.ca.
  88.  
  89.       First a short definition.  By Unix we mean an operating system
  90.       typically written in C, with a hierarchical file system,
  91.       integration of file and device I/O, whose system call interface
  92.       includes services such as fork(), pipe(), and whose user
  93.       interface includes tools such as cc, troff, grep, awk, and a
  94.       choice of shell.  Note that UNIX is a registered trademark of USL
  95.       (AT&T), but will be used here in its generic sense.
  96.  
  97.       Most Unices (the more common plural form) are derived more or
  98.       less directly from AT&T code (some code from the first C version
  99.       is presumably still left in most), but there are also clones
  100.       (i.e. Unix-compatible systems with no AT&T code).
  101.  
  102.       In addition, there are also Unix-like environments (e.g. VOS)
  103.       sitting on top of other OSs, and OSs inspired from Unix (yes,
  104.       even DOS!).  These are not covered here.  Little on real-time
  105.       Unices yet (although more is planned).
  106.  
  107.       Unix comes in an incredible variety of flavors.  This is to a
  108.       large extent due to availability of sources and the ease of
  109.       porting and modifying Unix.  Typically, a vendor of Unix will
  110.       start with one basic flavor (see below), take ideas/code from the
  111.       other major flavor, add and change many things, etc.  This
  112.       results in yet another new Unix flavor.  Today, there are
  113.       literally hundreds of Unices available, the closest thing to
  114.       standard Unix being (by definition) System V.
  115.  
  116.       This answer was put together mostly from information on the net
  117.       and email.  Some specific sources are also mentioned in the
  118.       appropriate sections.
  119.  
  120.       Acknowledgements: (in addition to references): pat@bnr.ca,
  121.       guy@auspex.com, pen@lysator.liu.se, mikes@ingres.com,
  122.       mjd@saul.cis.upenn.edu, root%candle.uucp@ls.com, ee@atbull.bull.co.at,
  123.       Aaron_Dailey@stortek.com, ralph@dci.pinetree.org, sbdah@mcshh.hanse.de,
  124.       macmach@andrew.cmu.edu, jwa@alw.nih.gov [4.4BSD], roeber@axpvms.cern.ch,
  125.       bob@pta.pyramid.com.au, bad@flatlin.ka.sub.org, m5@vail.tivoli.com,
  126.       dan@fch.wimsey.bc.ca, jlbrand@uswnvg.com, jpazer@usl.com,
  127.       ym@satelnet.org, merritt@gendev.slc.paramax.com, quinlan@yggdrasil.com,
  128.       steve@rudolph.ssd.csd.harris.com, bud@heinous.isca.uiowa.edu,
  129.       many that I forgot, and all the other
  130.       folks whose posts I read. Many thanks!
  131.  
  132. ------------------------------
  133.  
  134. Subject: A very brief look at Unix history.
  135. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  136. Date: Mon May 30 15:44:28 EDT 1994
  137. X-Version: 2.6
  138.  
  139. 6.2)  A very brief look at Unix history.
  140.  
  141.       Unix history goes back to 1969 and the famous "little-used PDP-7
  142.       in a corner" on which Ken Thompson, Dennis Ritchie (the R in K&R)
  143.       and others started work on what was to become Unix.  The name
  144.       "Unix" was intended as a pun on Multics (and was written "Unics"
  145.       at first -- UNiplexed Information and Computing System).
  146.  
  147.       For the first 10 years, Unix development was essentially confined
  148.       to Bell Labs.  These initial versions were labeled "Version n" or
  149.       "Nth Edition" (of the manuals), and were for DEC's PDP-11 (16
  150.       bits) and later VAXen (32 bits).  Some significant versions
  151.       include:
  152.  
  153.       V1 (1971):  1st Unix version, in assembler on a PDP-11/20.
  154.          Included file system, fork(), roff, ed.  Was used as a text
  155.          processing tool for preparation of patents.  Pipe() appeared
  156.          first in V2!
  157.  
  158.       V4 (1973):  Rewritten in C, which is probably the most
  159.          significant event in this OS's history: it means Unix can be
  160.          ported to a new hardware in months, and changes are easy.  The
  161.          C language was originally designed for the Unix operating
  162.          system, and hence there is a strong synergy between C and Unix.
  163.  
  164.       V6 (1975):  First version of Unix widely available outside
  165.          Bell Labs (esp.  in universities).  This was also the start of
  166.          Unix diversity and popularity.  1.xBSD (PDP-11) was derived
  167.          from this version.  J. Lions published "A commentary on the
  168.          Unix Operating System" based on V6.
  169.  
  170.       V7 (1979):  For many, this is the "last true Unix", an
  171.          "improvement over all preceding and following Unices"
  172.          [Bourne].  It included full K&R C, uucp, Bourne shell.  V7 was
  173.          ported to the VAX as 32V.  The V7 kernel was a mere 40
  174.          Kbytes!
  175.  
  176.          Here (for reference) are the system calls of V7:
  177.             _exit, access, acct, alarm, brk, chdir, chmod, chown,
  178.             chroot, close, creat, dup, dup2, exec*, exit, fork, fstat,
  179.             ftime, getegid, geteuid, getgid, getpid, getuid, gtty,
  180.             indir, ioctl, kill, link, lock, lseek, mknod, mount,
  181.             mpxcall, nice, open, pause, phys, pipe, pkoff, pkon,
  182.             profil, ptrace, read, sbrk, setgid, setuid, signal, stat,
  183.             stime, stty, sync, tell, time, times, umask, umount,
  184.             unlink, utime, wait, write.
  185.  
  186.       These Vn versions were developed by the Computer Research Group
  187.       (CRG) of Bell Labs.  Another group, the Unix System Group (USG),
  188.       was responsible for support.  A third group at Bell Labs was also
  189.       involved in Unix development, the Programmer's WorkBench (PWB),
  190.       to which we owe, for example, sccs, named pipes and other
  191.       important ideas.  Both groups were merged into Unix System
  192.       Development Lab in 1983.
  193.  
  194.       Another variant of Unix was CB Unix (Columbus Unix) from the Columbus
  195.       branch of Bell Labs, responsible of Operations Support Systems. Its
  196.       main contribution was parts of SV IPC.
  197.  
  198.       Work on Unix continued at Bell Labs in the 1980s.  The V series
  199.       was further developed by the CRG (Stroustrup mentions V10 in the
  200.       2nd edition of his book on C++), but we don't seem to hear much
  201.       about this otherwise.  The company now responsible for Unix
  202.       (System V) is called Unix System Laboratories (USL) and is
  203.       majority-owned by AT&T.  Novell has bought USL (early 93)?!
  204.       Novell has given rights to the "UNIX" trademark to X/Open (late 93).
  205.  
  206.       But much happened to Unix outside AT&T, especially at Berkeley
  207.       (where the other major flavor comes from).  Vendors (esp. of
  208.       workstations) also contributed much (e.g. Sun's NFS).
  209.  
  210.       The book "Life with Unix" by Don Libes and Sandy Ressler is
  211.       fascinating reading for anyone interested in Unix, and covers a
  212.       lot of the history, interactions, etc..  Much in the present
  213.       section is summarized from this book.
  214.  
  215. ------------------------------
  216.  
  217. Subject: Main Unix flavors.
  218. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  219. Date: Mon May 30 15:44:28 EDT 1994
  220. X-Version: 2.7
  221.  
  222. 6.3)  Main Unix flavors.
  223.  
  224.       Until recently, there were basically two main flavors of Unix:
  225.       System V (five) from AT&T, and the Berkeley Software Distribution
  226.       (BSD).  SVR4 is essentially a merge of these two flavors.  End
  227.       '91, OSF/1 from the Open Software Foundation was released (as a
  228.       direct competitor to System V) and may (future will tell) change
  229.       this picture.
  230.  
  231.       The following lists the main releases and features of System V,
  232.       BSD and OSF/1.
  233.  
  234.       System V from AT&T.  Typical of Intel hardware.  Most often
  235.          ported Unix, typically with BSD enhancements (csh, job
  236.          control, termcap, curses, vi, symbolic links).  System V
  237.          evolution is now overseen by Unix International (UI).  UI
  238.          members include AT&T, Sun, ....
  239.          Newsgroup: comp.unix.sysv[23]86.  Main releases:
  240.  
  241.          - System III (1982): first commercial Unix from AT&T
  242.            - FIFOs (named pipes)  (later?)
  243.  
  244.          - System V (1983):
  245.            - IPC package (shm, msg, sem)
  246.  
  247.          - SVR2 (1984):
  248.            - shell functions (sh)
  249.            - SVID (System V Interface Definition)
  250.  
  251.          - SVR3 (1986) for ? platforms:
  252.            - STREAMS (inspired by V8), poll(), TLI (network software)
  253.            - RFS
  254.            - shared libs
  255.            - SVID 2
  256.            - demand paging (if hardware supports)
  257.  
  258.          - SVR3.2:
  259.            - merge with Xenix (Intel 80386)
  260.            - networking
  261.  
  262.          - SVR4 (1988), mainstream of Unix implementations, merge of
  263.            System V, BSD, and SunOS.
  264.            - From SVR3: sysadmin, terminal I/F, printer (from BSD?),
  265.              RFS, STREAMS, uucp
  266.            - From BSD: FFS, TCP/IP, sockets, select(), csh
  267.            - From SunOS: NFS, OpenLook GUI, X11/NeWS, virtual memory
  268.              subsystem with memory-mapped files, shared libraries
  269.              (!= SVR3 ones?)
  270.            - ksh
  271.            - ANSI C
  272.            - Internationalization (8-bit clean)
  273.            - ABI (Application Binary Interface -- routines instead of traps)
  274.            - POSIX, X/Open, SVID3
  275.  
  276.          - SVR4.1
  277.            - async I/O (from SunOS?)
  278.  
  279.          - SVR4.2 (based on SVR4.1ES)
  280.            - Veritas FS, ACLs
  281.            - Dynamically loadable kernel modules
  282.  
  283.          - Future:
  284.            - SVR4 MP (multiprocessor)
  285.            - Use of Chorus microkernel?
  286.  
  287.       Berkeley Software Distribution (BSD).  Typical of VAXen, RISCs,
  288.          many workstations.  More dynamic, research versions now than
  289.          System V.  BSD is responsible for much of the popularity of
  290.          Unix.  Most enhancements to Unix started here.  The group
  291.          responsible at UCB (University of California at Berkeley) is
  292.          the Computer System Research Group (CSRG).  They closed down
  293.          in 1992.  Newsgroup: comp.unix.bsd.  Main releases:
  294.  
  295.          (much reorganized wrt dates and releases, hope it's converging)
  296.  
  297.          - 2.xBSD (1978) for PDP-11, still of significance? (2.11BSD
  298.            was released in 1992!).
  299.            - csh
  300.  
  301.          - 3BSD (1978):
  302.            - virtual memory
  303.  
  304.          - 4.?BSD:
  305.            - termcap, curses
  306.            - vi
  307.  
  308.          - 4.0BSD (1980):
  309.  
  310.          - 4.1BSD (?): base of later AT&T CRG versions
  311.            - job control
  312.            - automatic kernel config
  313.            - vfork()
  314.  
  315.          - 4.2BSD (1983):
  316.            - TCP/IP, sockets, ethernet
  317.            - UFS: long file names, symbolic links
  318.            - new reliable signals (4.1 reliable signals now in SVR3)
  319.            - select()
  320.  
  321.          - 4.3BSD (1986) for VAX, ?:
  322.          - 4.3 Tahoe (1988): 4.3BSD with sources, support for Tahoe
  323.            (32-bit supermini)
  324.            - Fat FFS
  325.            - New TCP algorithms
  326.          - 4.3 Reno (1990) for VAX, Tahoe, HP 9000/300:
  327.            - most of P1003.1
  328.            - NFS (from Sun)
  329.            - MFS (memory file system)
  330.            - OSI: TP4, CLNP, ISODE's FTAM, VT and X.500;  SLIP
  331.            - Kerberos
  332.  
  333.          - Net1 (?) and Net2 (June 1991) tapes: that portion of BSD which
  334.            requires no USL copyright
  335.  
  336.          - 4.4BSD (alpha June 1992) for HP 9000/300, Sparc, 386, DEC, others;
  337.            neither VAX nor Tahoe; two versions, lite (~Net2 contents plus,
  338.            fixes and new architectures) and encumbered (everything, requires
  339.            USL license):
  340.            - new virtual memory system (VMS) based on Mach 2.5
  341.            - virtual filesystem interface, log-structured filesystem, size
  342.              of local filesystem up to 2^63, NFS (freely redistributable,
  343.              works with Sun's, over UDP or TCP)
  344.            - ISO/OSI networking support (based on ISODE): TP4/CLNP/802.3 and
  345.              TP0/CONS/X.25, session and above in user space;  FTAM, VT, X.500.
  346.            - most of POSIX.1 (esp. new terminal driver a la SV), much of
  347.              POSIX.2, improved job control; ANSI C headers
  348.            - Kerberos integrated with much of the system (incl. NFS)
  349.            - TCP/IP enhancements (incl. header prediction, SLIP)
  350.            - important kernel changes (new system call convention, ...)
  351.            - other improvements: FIFOs, byte-range file locking
  352.            Official 4.4BSD release was expected within 6 months of above.
  353.  
  354.       The Open Software Foundation (OSF) released its Unix called OSF/1
  355.          end of 1991.  Still requires an SVR2 license.
  356.          Compatible/compliant with SVID 2 (and 3 coming), POSIX,
  357.          X/Open, etc..  OSF members include Apollo, Dec, HP, IBM, ....
  358.  
  359.          - OSF/1 (1991):
  360.            - based on Mach 2.5 kernel
  361.            - symmetric multiprocessing, parallelized kernel, threads
  362.            - logical volumes, disk mirroring, UFS (native), S5 FS, NFS
  363.            - enhanced security (B1 with some B2, B3; or C2), 4.3BSD admin
  364.            - STREAMS, TLI/XTI, sockets
  365.            - shared libs, dynamic loader (incl. kernel)
  366.            - Motif GUI
  367.  
  368.          - Release 1.3 (Jun 94)
  369.            - Based on MACH 3.0 Micro-kernel
  370.            - Conformant with current draft of Specification 1170
  371.              (considered for standardization in X/Open's Fast Track process)
  372.            - Data Capture I/F, Common Data Link I/F,
  373.            - ISO 10646 and 64-bit support.
  374.            - OSF/1 MK (mikrokernel) based on Mach 3.0
  375.  
  376.       This list of major flavors should probably also include Xenix
  377.       (Microsoft) which has been the basis for many ports.  Derived from V7,
  378.       S III and finally System V, it is similar externally but significantly
  379.       changed internally (performance-tuned for micros).
  380.  
  381.  
  382.       Two very good books describe the internals of the two main flavors.
  383.       These are:
  384.       - System V: "Design of the Unix Operating SYstem", M.J. Bach.
  385.       - BSD: "Design and Implementation of the 4.3BSD Unix Operating System",
  386.         Leffler, McKusick, Karels, Quaterman.
  387.       For a good introduction to OSF/1 (not quite as technical as the
  388.       previous two), see: "Guide to OSF/1, A Technical Synopsis",
  389.       published by O'Reilly.  On SunOS, "Virtual Memory Architecture in
  390.       SunOS" and "Shared Libraries in SunOS" in Summer 1989 USENIX
  391.       Proceedings.
  392.  
  393.       A good set of articles on where Unix is going is "Unix Variants"
  394.       in the Apr 92 issue of Unix Review.  Other good sources of
  395.       information include the bsd-faq file, and many of the newsgroups
  396.       mentioned in the text.
  397.  
  398. ------------------------------
  399.  
  400. Subject: Unix Standards.
  401. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  402. Date: Mon May 30 15:44:28 EDT 1994
  403. X-Version: 2.6
  404.  
  405. 6.4)  Unix Standards.
  406.  
  407.       This section briefly describes the more important standards
  408.       relevant to Unix.
  409.  
  410.       - IEEE:
  411.         - 802.x (LAN) standards (LLC, ethernet, token ring, token bus)
  412.         - POSIX (ISO 9945?): Portable Operating System I/F (Unix, VMS
  413.           and OS/2!) (only ? have been finalized at this point)
  414.           - 1003.1:  library procedures (mostly system calls) -- roughly V7
  415.                      except for signals and terminal I/F (1990)
  416.           - 1003.2:  shell and utilities
  417.           - 1003.3:  test methods and conformance
  418.           - 1003.4:  real-time: binary semaphores, process memory
  419.                      locking, memory-mapped files, shared memory,
  420.                      priority scheduling, real-time signals, clocks and
  421.                      timers, IPC message passing, synchronized I/O,
  422.                      asynchronous I/O, real-time files
  423.           - 1003.5:  Ada language bindings
  424.           - 1003.6:  security
  425.           - 1003.7:  system admin (incl. printing)
  426.           - 1003.8:  transparent file access
  427.           - 1003.9:  FORTRAN language bindings
  428.           - 1003.10: super computing
  429.           - 1003.12: protocol-independent I/Fs
  430.           - 1003.13: real-time profiles
  431.           - 1003.15: supercomputing batch I/Fs
  432.           - 1003.16: C-language bindings (?)
  433.           - 1003.17: directory services
  434.           - 1003.18: POSIX standardized profile
  435.           - 1003.19: FORTRAN 90 language bindings
  436.  
  437.       - X/Open (consortium of vendors, founded 1984):
  438.         - X/Open Portability Guides (XPGn):
  439.           - XPG2 (1987), strong SV influence
  440.             Vol 1:  commands and utilities
  441.             Vol 2:  system calls and libraries
  442.             Vol 3:  terminal I/F (curses, termio), IPC (SV),
  443.                     internationalization
  444.             Vol 4:  programming languages (C, COBOL!)
  445.             Vol 5:  data management (ISAM, SQL)
  446.           - XPG3 (1989) adds: X11 API
  447.           - XPG4 (1992) adds: XTI?   22 components
  448.         - XOM series of interfaces:
  449.           - XOM (X/Open Object Management) generic I/F mechanisms for
  450.             following
  451.           - XDS (X/Open Directory Service)
  452.           - XMH (X/Open Mail ??)
  453.           - XMP (X/Open Management Protocols) -- not Bull's CM API?
  454.         - X/Open now has the rights to the "UNIX" trademark (late 93);
  455.         - "Spec 1170"
  456.           - This specification is being prepared describing a common API
  457.             which vendors wanting to use the name "UNIX" will have to comply
  458.             to (when test suites are available). Merge of SVID, OSF's AES
  459.             and other stuff.
  460.  
  461.       - AT&T
  462.         - System V Interface Definition (SVID)
  463.           - SVID1 (1985, SVR2)
  464.             Vol 1:  system calls and libraries (similar to XPG2.1)
  465.           - SVID2 (1986, SVR3)
  466.             Vol 1:  system calls and libraries (base, kernel extensions)
  467.             Vol 2:  commands and utilities (base, advanced, admin, software
  468.                     development), terminal I/F
  469.             Vol 3:  terminal I/F (again), STREAMS and TLI, RFS
  470.           - SVID3 (19??, SVR4) adds
  471.             Vol 4:  ??  &c
  472.         - APIs
  473.           - Transport Library Interface (TLI)
  474.           - ACSE/Presentation Library Interface (APLI)
  475.  
  476. ------------------------------
  477.  
  478. Subject: Identifying your Unix flavor.
  479. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  480. Date: Mon May 30 15:44:28 EDT 1994
  481. X-Version: 2.6
  482.  
  483. 6.5)  Identifying your Unix flavor.
  484.  
  485.       This section lists a number of things you can look at in
  486.       attempting to identify the base flavor of your Unix.  Given the
  487.       significant exchange of code and ideas between the various
  488.       flavors and the many changes made by vendors, any statement such
  489.       as "this Unix is an SVR2" is at best a statistical statement
  490.       (except for some SVRn ports).  Also many Unices offer most of
  491.       both worlds (either mixed as in SunOS or strictly separated as in
  492.       Apollo?).  So this section is perhaps not very useful...
  493.  
  494.       The list of features in previous sections can also help.  For
  495.       example, if a system has a poll(2) but no select(2), it is highly
  496.       probable that it is derived from SVR3.  Also the name of the OS
  497.       can provide a clue, as well as the logon message (e.g.  SGI's
  498.       "IRIX SVR3.3.2") or the output of "uname -a" command.  Available
  499.       commands can also provide hints but this is probably less
  500.       reliable than kernel features.  For example, the type of terminal
  501.       initialization (inittab or ttys) is a more reliable indicator
  502.       than the print subsystem.
  503.  
  504.       Feature           Typical in SVRx         Typical in xBSD
  505.  
  506.       kernel name       /unix                   /vmunix
  507.       terminal init     /etc/inittab            /etc/ttys (only getty to 4.3)
  508.       boot init         /etc/rc.d directories   /etc/rc.* files
  509.       mounted FSs       /etc/mnttab             /etc/mtab
  510.       usual shell       sh, ksh                 csh, #! hack
  511.       native FS         S5 (blk: 512-2K)        UFS (blk: 4K-8K)
  512.                         file names <= 14 bytes  file names < 255 bytes
  513.       groups            need newgrp(1)          automatic membership
  514.                         SVR4: multiple groups
  515.       print subsystem   lp, lpstat, cancel      lpr, lpq, lprm (lpd daemon) ??
  516.       terminal control  termio, terminfo,       termios (sgtty before 4.3reno)
  517.                         SVR4: termios (POSIX)   termcap
  518.       job control       >= SVR4                 yes
  519.       ps command        ps -ef                  ps -aux
  520.       multiple wait     poll                    select
  521.       string fcns       memset, memcpy          bzero, bcopy
  522.       process mapping   /proc  (SVR4)
  523.  
  524. ------------------------------
  525.  
  526. Subject: Brief notes on some well-known (commercial/PD) Unices.
  527. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  528. Date: Mon May 30 15:44:28 EDT 1994
  529. X-Version: 2.6
  530.  
  531. 6.6)  Brief notes on some well-known (commercial/PD) Unices.
  532.  
  533.       (I am not at all satisfied with this section, unfortunately I
  534.       have neither the time nor the documents to make it much better
  535.       (wrt contents).  Should only list Unices known by a reasonably
  536.       wide audience.  Small and non-US Unices welcome, e.g. Eurix.  In
  537.       need of reformatting)
  538.  
  539.       This section lists (in alphabetical order) some of the better
  540.       known Unices along with a brief description of their nature.
  541.       Unfortunately, it's out-of-date almost by definition...
  542.  
  543.       (sorted alpha, ignoring numbers and other chars)
  544.  
  545.       AIX:  IBM's Unix, based on SVR2 (later up to SVR3.2?) with varying
  546.          degrees of BSD extensions, for various hardwares.  Proprietary
  547.          system admin (SMIT).  Both 850 and Latin-1 CPs.  Quite
  548.          different from most Unices and among themselves.
  549.          Newsgroup: comp.unix.aix.
  550.          - 1.x (for 386 PS/2)
  551.          - 2.x (for PC RTs)
  552.          - 3.x (for RS/6000), paging kernel, logical volume manager, i18n;
  553.            3.2 adds TLI/STREAMS.  SV-based with many enhancements.
  554.          - AIX/ESA, runs native on S/370 and S/390 mainframes, based on OSF/1.
  555.          AIX was to have been base for OSF/1 until Mach was chosen instead.
  556.          I hope this subsection is converging :-)
  557.  
  558.       AOS (IBM):  4.3BSD port to IBM PC RT (for educational institutes).
  559.          Don't confuse with DG's proprietary OS of same name.
  560.  
  561.       Arix:  SV
  562.  
  563.       A/UX (Apple): SV with Berkeley enhancements, NFS, Mac GUI.  System 6
  564.          (later System 7) runs as guest of A/UX (opposite of MachTen).
  565.          Newsgroup: comp.unix.aux.
  566.          - 2.0:  SVR2 with 4.2BSD, system 6 Mac applications.
  567.          - 3.0 (1992): SVR2.2 with 4.3BSD and SVR3/4 extensions; X11R4,
  568.            MacX, TCP/IP, NFS, NIS, RPC/XDR, various shells, UFS or S5FS.
  569.            System 7 applications.
  570.          - 4.0 will have/be OSF/1.
  571.  
  572.       3B1 (680x0): SV-based, done by Convergent for AT&T.
  573.          Newsgroup: comp.sys.3b1.
  574.  
  575.       BNR/2: stands for BSD Net/2 Release? Includes NetBSD/1, FreeBSD.
  576.  
  577.       BOS for Bull's DPX/2 (680x0)
  578.          - V1 (1990): SVR3 with BSD extensions (FFS, select, sockets),
  579.            symmetric MP, X11R3
  580.          - V2 (1991): adds job control, disk mirroring, C2 security,
  581.            DCE extensions
  582.  
  583.       386BSD: Jolitz's port of Net/2 software.  Posix, 32-bit, still in alpha
  584.          (now version 0.1).
  585.  
  586.       BSD/386 (80386):  from BSDI, with source (augmented Net2 software)
  587.          Newsgroup: comp.unix.bsd.
  588.  
  589.       Chorus/MiXV:  Unix SVR3.2 (SVR4) over Chorus nucleus, ABI/BCS.
  590.  
  591.       Coherent (80286):  Unix clone compatible with V7, some SVR2 (IPC).
  592.          V4.0 is 32-bit.  Newsgroup: comp.os.coherent
  593.  
  594.       Consensys: SVR4.2
  595.  
  596.       CTIX: SV-based, from Convergent
  597.  
  598.       D-NIX:  SV
  599.  
  600.       DC/OSx (Pyramid):  SVR4.
  601.  
  602.       DELL UNIX [DELL Computer Corp.]: SVR4
  603.  
  604.       DomainIX: see DomainOS below.
  605.  
  606.       DomainOS (Apollo, now HP): proprietary OS; layered on top is BSD4.3 and
  607.          SVR3 (a process can use either, neither or both).  Development now
  608.          stopped, some features now in OSF/1 (and NT).  Now at SR10.4.
  609.          Name for SR9.* was DomainIX.  Newsgroup: comp.sys.apollo.
  610.  
  611.       DVIX (NT's DVS):  SVR2
  612.  
  613.       DYNIX (Sequent): 4.2BSD-based
  614.  
  615.       DYNIX/PTX: SVR3-based
  616.  
  617.       Esix (80386):  pure SVR4, X11, OpenLook (NeWS), Xview
  618.  
  619.       Eurix (80?86):  SVR3.2 (Germany)
  620.  
  621.       FreeBSD: 386bsd 0.1 with the patchkit applied, and many updated
  622.          utilities.
  623.  
  624.       FTX: Stratus fault-tolerant OS (68K or i860-i960 hardware)
  625.  
  626.       Generics UNIX (80386): SVR4.03 (Germany)
  627.  
  628.       GNU Hurd (?):  vaporware from the Free Software Foundation (FSF):
  629.          Unix emulator over Mach 3.0 kernel.  Many GNU tools are very
  630.          popular (emacs) and used in the PD Unices.
  631.  
  632.       HP-UX (HP):  old from S III (SVRx), now SVR2 (4.2BSD?) with SV utilities
  633.          (they have trouble making up their minds).
  634.          - 6.5: SVR2
  635.          - 7.0: SVR3.2, symlinks
  636.          - 7.5
  637.          - 8.0: BSD based? for HP-9000 CISC (300/400) and RISC (800/700),
  638.            shared libs
  639.          - 9.0: includes DCE
  640.  
  641.       Interactive SVR3.2 (80x86): pure SVR3.  Interactive has been bought
  642.          by Sun; will their system survive Solaris?
  643.  
  644.       Idris:  first Unix clone by Whitesmith.
  645.          - 4D
  646.  
  647.       IRIX (SGI):  Version 4: SVR3.2, much BSD.  Version 5.x (current is 5.2)
  648.          is based on SVR4.  Newsgroup: comp.sys.sgi.
  649.  
  650.       Linux (386/486/586): Unix under GPL (not from FSF, though).  Available
  651.         with sources.  POSIX compliant w/ SysV and BSD extensions.  Being
  652.         ported to ALPHA and PowerPC (ports for 680x0 Amigas and Ataris
  653.         already exist). Newsgroup: comp.os.linux.
  654.  
  655.       MachTen, Tenon Intersystems:  runs as a guest of System 6, no memory
  656.          protection, 4.3BSD environment with TCP, NFS.
  657.  
  658.       MacMach (Mac II): 4.3BSD over Mach 3.0 microkernel, X11, Motif, GNU
  659.          software, sources, experimental System 7 as Mach task.  Complete
  660.          with all sources (need Unix license).
  661.  
  662.       Mach386: from Mt Xinu.  Based on Mach 2.5, with 4.3BSD-Tahoe
  663.          enhancements.  Also 2.6 MSD (Mach Source Distribution).
  664.  
  665.       Microport (80x86):  pure SVR4, X11, OpenLook GUI
  666.  
  667.       Minix (80x86, Atari, Amiga, Mac):  Unix clone compatible with V7.
  668.          Sold with sources.  Being POSIXified (sp?).  Newsgroup: comp.os.minix.
  669.  
  670.       MipsOS:  SVish (RISC/OS, now dropped, was BSDish)
  671.  
  672.       more/BSD (VAX, HP 9000/300):  Mt Xinu's Unix, based on 4.3BSD-Tahoe.
  673.          Newsgroup: comp.os.xinu?
  674.  
  675.       NCR UNIX: SVR4 (4.2?)
  676.  
  677.       Net/2 tape (from Berkeley, 1991): BSD Unix, essentially compatible with
  678.          4.3BSD, includes only sources free of AT&T code, no low-level code.
  679.          See 386BSD and BSD/386 above.
  680.  
  681.       NetBSD 0.8: is actually 386bsd in a new suit. Ported to [34]86, MIPS,
  682.          Amiga, Sun, Mac. What is relation to Net/2?
  683.  
  684.       NextStep (Next):  BSD4.3 over Mach kernel, own GUI.
  685.          - 1.x, 2.0, 2.1
  686.          - 2.2 (support for NeXT Turbo machines)
  687.          - 3.0 (optimized for 68040 machines), 3.1
  688.          - 3.2 (current; 3.3 summer 94, 3.4 rumored)
  689.          - NS/i (NeXTSTEP/Intel) for Intel platform
  690.          - other ports: one for HP workstations, and OpenStep (NeXT venture
  691.            with Sun attempting to create a cross-platform standard for objects)
  692.  
  693.       NEWS-OS (Sony)
  694.          - 3.2
  695.  
  696.       OSF/1 (DEC): DEC's port of OSF/1.  I think this is now (4/93) available
  697.          on DEC's latest Alpha AXP (64-bit machine).
  698.  
  699.       OSx (Pyramid): Dualport of both SysV.3 and BSD4.3.
  700.  
  701.       PC-IX (IBM 8086):  SV
  702.  
  703.       Plan 9 (AT&T): announced 1992, complete rewrite, not clear how close to
  704.          Unix it is.  Key points: distributed, very small, various hardwares
  705.          (Sun, Mips, Next, SGI, generic hobbit, 680x0, PCs), C (not C++ as
  706.          rumors had it), new compiler, "8 1/2" window system (also very
  707.          small), 16-bit Unicode, CPU/file servers over high speed nets.
  708.  
  709.       PowerOpen: announced Unix which is to run on the PowerPC chip (from
  710.          IBM, Apple and Motorola).  Mac UI, compatibility to AIX.
  711.  
  712.       SCO Xenix (80x86): Versions for XT (not robust!), 286, 386 (with demand
  713.          paging).  Today bulk of code is from System V.  Stable product.
  714.  
  715.       SCO Unix (80x86):  SVR3.2
  716.  
  717.       Sinix [Siemens]: System V base.
  718.  
  719.       Solaris (Sparc, 80386):
  720.          - 1.0:  essentially same as SunOS 4.1.1, with OpenWindows 2.0 and
  721.            DeskSet utilities.
  722.          - 1.0.1:  SunOS 4.1.2 with multiprocessing (kernel not multithreaded);
  723.            not for 386
  724.          - 2.0: (initially announced as SunOS 5.0 in 1988) based on SVR4
  725.            (with symmetric MP?), will include support for 386; with
  726.            OpenWindows 3.0 (X11R4) and OpenLook, DeskSet, ONC, NIS.  Both
  727.            a.out (BSD) and elf (SVR4) formats.  Kerberos support.  Compilers
  728.            unbundled!
  729.  
  730.       SunOS (680x0, Sparc, i386):  based on 4.3BSD, includes much from
  731.          System V.  Main Sun achievements: NFS (1984), SunView (1985), NeWS
  732.          (1986, postscript imaging, now in OpenWindows), OpenLook GUI standard,
  733.          OpenWindows (NeWS, X11, SunView!).  Newsgroup: comp.sys.sun.*.
  734.          - 3.x:  SV IPC package, FIFOs
  735.          - 4.0.3: lightweight processes, new virtual mem, shared libs
  736.          - 4.1: STREAMS & TLI, 8-bit clean?, async I/O, ms-dos file system
  737.          (continues as Solaris -- see above).
  738.  
  739.       UHC (80x86): pure SVR4, X11, Motif
  740.  
  741.       Ultrix (DEC):  based on 4.2BSD with much of 4.3.
  742.          Newsgroup: comp.unix.ultrix.
  743.          - 3.1, 4.0
  744.  
  745.       UNICOS (Cray):  System V base.  Newsgroup: comp.unix.cray
  746.          - 5.x, 6,x, 7.0
  747.  
  748.       UnixWare Release 4.2 [Univel]: SVR4.2.
  749.  
  750.       UTEK (Tektronix)
  751.          - 4.0
  752.  
  753.       Xenix (80x86):  1st Unix on Intel hardware, based on SVR2 (previously on
  754.          S III and even V7).  Newsgroup: comp.unix.xenix.
  755.  
  756. ------------------------------
  757.  
  758. Subject: Real-time Unices.
  759. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  760. Date: Mon May 30 15:44:28 EDT 1994
  761. X-Version: 2.6
  762.  
  763. 6.7)  Real-time Unices.
  764.  
  765.       WARNING: this section is badly in need of work. It's full of errors,
  766.       and it's incomplete. I hope to have time to look at it this winter
  767.       (was "this fall"). I doubt all of following are Unices -- input is
  768.       welcome. The list also includes more common Unices with real-time
  769.       features, and some non-Unix systems with Unix-like APIs. I don't
  770.       suppose the latter really belong here, but having collected some notes,
  771.       I'm hesitant to junk them. See also comp.realtime.
  772.  
  773.       Concurrent OS (Concurrent): real Unix, significantly modifed by
  774.          Concurrent.
  775.  
  776.       CX/UX: a real UNIX significantly modified by Harris to provide
  777.          real-time capabilities and performance. Compliant with POSIX.4 final
  778.          version.
  779.  
  780.       EP/LX (Control Data): port of LynxOS to R3000. Formerly called TC/IX.
  781.  
  782.       LynxOS (Lynx Real-Time Systems, Inc): Berkeley and SV compatibility,
  783.          ground-up rewrite (proprietary), predates SVR4. Is not UNIX, but
  784.          supports much of the UNIX I/Fs. Fully preemptive, fixed priorities.
  785.  
  786.       MiX: microkernel implementation of SVR4 offered by Chorus.
  787.  
  788.       Motorola SVR4 has real-time capabilities.
  789.  
  790.       QNX (Quantum Software): unix-compatible real real-time OS.
  791.  
  792.       RTU (Concurrent), for 68K boxes
  793.  
  794.       Solaris 2 has real-time capabilities?
  795.  
  796.       Stellix (Stardent); it's Unix, but is it real-time?
  797.  
  798.       Venix/386: Interactive SVR3.2 with real-time extensions.
  799.  
  800.       VMEexec (Motorola): not Unix, but also shares some I/Fs with Unix.
  801.  
  802.       VxWorks (Wind River Systems): Little in common with Unix, has some I/Fs
  803.          in common with Unix (but not the file system). Newsgroup:
  804.          comp.os.vxworks.
  805.  
  806.         (know nothing about)
  807.  
  808.       Convex RTS
  809.  
  810.       REAL/IX (AEG)
  811.  
  812.       Sorix (Siemens)
  813.  
  814.       System V/86 (Motorola)
  815.  
  816.       TC/IX (CCD)
  817.  
  818.       Velocity (Ready Systems):
  819.  
  820.  
  821. ------------------------------
  822.  
  823. Subject: Unix glossary.
  824. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  825. Date: Mon May 30 15:44:28 EDT 1994
  826. X-Version: 2.6
  827.  
  828. 6.8)  Unix glossary.
  829.  
  830.       This section provides short definitions of various concepts and
  831.       components of (or related to) Unix systems.
  832.  
  833.       Chorus: message-passing microkernel, may form basis for a future release
  834.          of SV.  Chorus already have SVR4 running on top (binary-compatible).
  835.  
  836.       COSE (Common Open Software Environment) [Sun, HP, IBM]: common look and
  837.          feel (Motif), common API.  Reaction against Windows NT.
  838.  
  839.       DCE (Distributed Computing Environment, from OSF): Includes RPC (Apollo's
  840.          NCS), directory service (local based on DNS, global on X.500), time,
  841.          security, and threads services, DFS (distrib. file system), ....
  842.          OS-independent.
  843.  
  844.       DME (Distributed Management Environment, from OSF):  future.
  845.  
  846.       FFS (Fast File System): from Berkeley, 1983.  Equivalent (exact?) of
  847.          UFS in SunOS.  Has notions such as cylinder groups, fragments.
  848.  
  849.       Mach: modern kernels from CMU (Carnegie Mellon University) on which many
  850.          Unices and other OSs are based (e.g. OSF/1, MacMach, ...):
  851.          - 2.5: monolithic kernel with 4.2BSD
  852.          - 3.0: microkernel with BSD Unix server in user space (and other OSs,
  853.            e.g. MS-DOS)
  854.          Newsgroup: comp.os.mach
  855.  
  856.       MFS (Memory File System):
  857.  
  858.       NeWS (Network extensible Window System), from Sun?: PostScript-based,
  859.          networked, toolkits (and even clients) loaded in server.  Part of
  860.          OpenWindows.
  861.  
  862.       NFS (Network File System):  contributed by Sun to BSD, stateless server
  863.  
  864.       ONC (Open Network Computing): from Sun(?), includes RPC, name service
  865.          (NIS aka YP), NFS, ... (found in many Unices, other OSs).
  866.  
  867.       RFS (Remote File System):  SV, stateful server, incompatible with NFS
  868.  
  869.       RPC (Remote Procedure Call): high-level IPC (inter-process communication)
  870.          mechanism.  Two flavors.
  871.          - ONC: Over TCP or UDP (later OSI), uses XDR to encode data.
  872.          - DCE: has a different RPC mechanism (based on Apollo's NCS)
  873.  
  874.       S5 FS:  System V's native file system, blocks 512 to 2K.
  875.  
  876.       sockets:  BSD interface mechanism to networks (compare TLI).
  877.  
  878.       STREAMS:  a message-passing kernel mechanism, initially in SVR3, which
  879.          provides a very good interface for protocol development.
  880.  
  881.       TFS (Translucent File System): Sun, COW applied to files.
  882.  
  883.       TLI (Transport Library Interface):  SV's interface to transport services
  884.          (TCP, OSI).  UI has also defined an APLI (ACSE/Presentation Library
  885.          Interface)
  886.  
  887.       UFS (?): BSD's native file system as seen in SunOS, blocks 4K to 8K,
  888.          cylinder groups, fragments.
  889.  
  890.       XTI (X/Open Transport Interface):  TLI with enhancements
  891.  
  892.       X11: pixel-oriented window system from MIT.
  893.  
  894. ------------------------------
  895.  
  896. End of unix/faq Digest part 6 of 7
  897. **********************************
  898.  
  899. -- 
  900. Ted Timar - tmatimar@isgtec.com
  901. ISG Technologies Inc., 6509 Airport Road, Mississauga, Ontario, Canada L4V 1S7
  902.  
  903.