Skip to content

How Linux, BSD, UNIX, and macOS Relate to Each Other

jdrch edited this page Oct 2, 2019 · 9 revisions

POSIX

There is a family of computing standards trademarked as POSIX. The POSIX trademark is owned by IEEE.

An OS that uses the POSIX trademark must:

  1. Be certified to meet all POSIX conformance requirements
  2. Have a POSIX Trademark License Agreement

Certified POSIX-compliant OSes

UNIX

UNIX's requirements are a superset of POSIX's. In other words, all UNIX OSes are POSIX-compliant OSes, but not all POSIX-compliant OSes are UNIX OSes. The UNIX trademark is owned by The Open Group.

A UNIX is any operating system:

  1. That passes the applicable UNIX certification test suites
  2. Whose supplier has formally agreed to the terms of the UNIX Certification Program

macOS

MacOS is a mixed source UNIX OS.

Non-certified, but "mostly POSIX-compliant" OSes

Current Generation (Free/DragonFly /Net/Open)BSD

  1. Each BSD uses an independently developed kernel
  2. There is no aim for binary compatibility among BSDs
  3. Uses the BSD License

Linux Distributions (Distros)

  1. Each distro uses the centrally developed Linux kernel
  2. While each distro may modify the kernel for its own purposes, there is, by virtue of the common kernel:
    1. Binary (not necessarily package) compatibility among Linux distros on the same CPU architecture
    2. Feature parity among all kernels based on the same release
  3. Uses the GNU General Public License (GPL)

Notes

  • The differences between the BSD License and the GPL, while outside the scope of this comparison, are significant
  • Licensing and certification fees for both POSIX and UNIX are expensive relative to open source OS budgets. This appears to be the main reason BSD and Linux are neither certified nor licensed
  • POSIX certification appears to involve an audited self-test, using a standardized testing suite supplied by the IEEE
  • UNIX certification appears to involve approved results self-testing, using a standardized testing suite supplied by The Open Group
  • There is at least 1 other standard that exists within the Linux ecosystem only: the Filesystem Hierarchy Standard
  • The Open Group maintains a list of OSes that have been certified to UNIX standards
Clone this wiki locally