{"id":26,"date":"1999-10-19T17:47:12","date_gmt":"1999-10-20T00:47:12","guid":{"rendered":"http:\/\/www.jeffcarl.com\/?p=26"},"modified":"2020-07-08T19:04:33","modified_gmt":"2020-07-09T02:04:33","slug":"freenixes-and-unix-history","status":"publish","type":"post","link":"https:\/\/www.jeffcarl.com\/index.php\/1999\/10\/19\/freenixes-and-unix-history\/","title":{"rendered":"Freenixes and Unix History"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><strong>By Jeffrey Carl<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img loading=\"lazy\" decoding=\"async\" width=\"350\" height=\"109\" src=\"http:\/\/www.jeffcarl.com\/wp-content\/uploads\/2020\/04\/bwatch.gif\" alt=\"Boardwatch Magazine\" class=\"wp-image-22\"\/><\/figure><\/div>\n\n\n\n<p class=\"has-background has-light-gray-background-color\"><em>This was my first &#8220;UNIX Flavor Country&#8221; column for Boardwatch Magazine. My first article had gone over so well &#8211; in that it filled up two full pages, did not provoke an angry letters and cost the magazine $100 &#8211; that my friend <a href=\"https:\/\/www.owltail.com\/podcast\/39029-mystery-science-theater-revival-league-podcast\/best-episodes\">Greg Tally<\/a> offered me a full-time columnist gig. These, as they say, were the salad days. People even thought Pets.com was a good idea back then, seriously.<\/em><\/p>\n\n\n\n<p>If your ISP doesn\u2019t use Unix, it should. Many of the various flavors of Unix provide excellent solutions for everything from webhosting to dialup authentication to networking to powerful workstations. Even better, some of the Unixes (the so-called \u201cFreenixes\u201d) are free to use, are available on cheap hardware, and come with powerful free software suites (like Apache, Sendmail and others) that match or beat the performance of commercial software costing thousands of dollars. Plus \u2013 let\u2019s face it \u2013 there\u2019s an undeniable \u201csysadmin badass\u201d appeal that comes from telling people you\u2019re a Unix wizard that you simply&nbsp;<em>don\u2019t<\/em>&nbsp;get by telling people you\u2019re \u201ca real guru with AppleTalk.\u201d<\/p>\n\n\n\n<p>However, even among Freenixes, there are many to choose from. And, if you\u2019re a new user or even an experienced administrator looking to taste other flavors, it\u2019s difficult to get good advice on which kinds to choose. Most people who already use Unix are very devoted to their flavor of choice, and it\u2019s tough to get unbiased advice from someone with a lifetime subscription to \u201c<em>BSD Jihad<\/em>\u201d or a tattoo of a heart with a little \u201cKernel 2.0.36\u201d inside it.&nbsp;<\/p>\n\n\n\n<p>So, for the next few months, we\u2019ll look at what the strengths and weaknesses of each Freenix flavor are, and which may be right for you. To understand how and why each Freenix does what it does, it\u2019s important to have a knowledge of where they (and Unix itself) come from \u2013 and that\u2019s the focus of this month\u2019s column.<\/p>\n\n\n\n<p>Normally, histories of Unix are dull enough that they are used only in scientific experiments to anesthetize lab rats at a distance of 50 yards. In the interest of bringing everyone up to speed, the following is a completely irresponsible, glibly assertive and overly sarcastic yet theoretically amusing brief history of Unix up to the past few years.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>IN THE BEGINNING<\/strong><\/h1>\n\n\n\n<p>Many millions of years ago, after the Earth cooled (roughly 1969), there was Unix. And it was good. Ken Thompson and Dennis Ritchie of Bell Labs found the legendary \u201clittle-used PDP-7 in a corner\u201d and set to work on creating a new operating system for internal use at AT&amp;T. Originally called \u201cUnics\u201d (UNiplexed Information and Computing System) as a pun on the earlier OS project \u201cMultics\u201d (Ha ha! Programmer humor!), its development was confined for several years to a small group of ultra-geek programmers within Bell Labs.&nbsp;<\/p>\n\n\n\n<p>A fundamental step for Unix came in 1973 with Version 4, which had been rewritten from platform-dependent assembler code into the new C language (also a creation of Bell Labs). By writing the core of the OS in a high-level programming language, it now essentially meant that Unix could be ported to almost any platform which included a C compiler. Since that time, Unix and C have gone hand-in-hand like deer ticks and Lyme disease.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>TRIUMPH OF THE NERDS<\/strong><\/h1>\n\n\n\n<p>Version 6 of Unix in 1975 was released to the outside world in \u201cunsupported\u201d (\u201cDon\u2019t blame us if it hoses your CPU and makes it cough blood\u201d) format. It had two different licenses for the OS\/source package: a university license for $100 and an \u201ceverybody else\u201d license for $20,000. As a result, a generation of Computer Science students grew up on hacking Unix and improving it (most notably at MIT, Carnegie-Mellon and the University of California-Berkeley). While the \u201cother\u201d price tag sounds hefty, it was a small price for large companies to be able to take an existing OS and build their own around it. This eventually attracted numerous vendors to base an OS on Unix \u2013 including Sun, SGI, DEC, HP, IBM, NeXT and even Apple (anyone out there remember A\/UX?). Unix grew rapidly in the mainframe world of the \u201870s and \u201880s because it was relatively cheap, and small armies of new computer science graduates entered the workforce already familiar with it.<\/p>\n\n\n\n<p>The early development of Unix defined the characteristics it carries to this day. Every OS is a compromise of sorts between two fundamental sets of questions: maximum configurability versus ease of use, and stability versus expandability. Unix was written by programmers and for programmers, not end users \u2013 and it stressed the power of configurability over user-friendliness (although great steps in that direction have been taken lately).&nbsp;<\/p>\n\n\n\n<p>As time went on, more and more features were added to Unix by various offshoots of Bell and by university computer science students. UC Berkeley\u2019s Computing Systems Research Group (CSRG) acquired a license for Version 6, and set a goal to write a completely AT&amp;T code-free version of the system. The rise of the ARPAnet\/NSFnet network drove Berkeley to develop innovations such as a full integration of TCP\/IP into Unix and the birth of domain names (DNS and BIND). As such, the development of what would become the Internet was intimately tied to Unix \u2013 and Unix would remain the Internet\u2019s OS of choice. By the mid-\u201880s, Unix was well known within the computer science community as the operating system that could wring maximum stability and performance out of almost any hardware.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>CAN\u2019T WE ALL JUST GET ALONG?<\/strong><\/h1>\n\n\n\n<p>In the early \u201880s, Bell had transferred their development of Unix to Western Electric, which called their commercial version of Unix \u201cSystem III\u201d (they figured that if they called it \u201cSystem I\u201d no one would buy it since they\u2019d think it was too buggy). Unix System V was released in 1983, and System V Release 4 (SVR4) was released in 1989, incorporating many of the improvements made by the Berkeley group and Sun Microsystems (including TCP\/IP and NFS). Unix even had two Graphical User Interface schemes (Motif and OpenLook) \u2013 both commercial and (appropriately) completely incompatible implementations of the open MIT \u201cX Window\u201d standard. By the late 1980s, Unix was a fully commercial operating system family in all its variants; but it was a \u201chigh-end\u201d OS that was far out of reach for individual users, and which the personal computer revolution had largely passed by.<\/p>\n\n\n\n<p>At this point, it\u2019s worth a brief digression to discuss \u201cwhat is Unix?\u201d If you want to be technical, only operating systems based on AT&amp;T code and blessed by the Open Group (the Unix trademark holder) qualify as Unix. Personally, I think that\u2019s a load of crap. For the purposes of this article (and the rest of this column\u2019s run), any OS that you can bring to a screeching halt by typing \u201ckill \u20139 1\u201c at a root shell prompt is Unix \u2013 and that includes SVR4, BSD and Linux-based OSes.<\/p>\n\n\n\n<p>Anyway, during this time, the university community that had given birth to so many of Unix\u2019s developments remained active \u2013 and they wanted a Unix that was inexpensive enough to be used by individuals or groups without the deep pockets of universities and corporations. Parallel to the growth of private Internet Service Providers seeking Internet access outside of the institutions through which they had used the Internet, hackers were still active trying to create a Unix of their own.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>HACKERS != LAWYERS<\/strong><\/h1>\n\n\n\n<p>The Berkeley CSRG\u2019s funding ran out before it fully completed its goal of creating an AT&amp;T-free Unix, but just before its demise CSRG released a version (still retaining five or 10 percent AT&amp;T code) called 4.3 BSD Net\/2.They published their work under what became known as the \u201cBSD\u201d license, which made the source free to anyone who wanted it (but also allowed it to be incorporated into non-open-source and commercial projects). One of the many groups that picked up the Net\/2 ball and ran with it was a commercial interest, Berkeley Software Design, Inc. (BSDI), which worked on filling in the gaps in Net\/2 and selling the resulting product. Simultaneously, Berkeley\u2019s Bill Jolitz made a great leap for hackers and hobbyists everywhere with a more-or-less AT&amp;T-free port of Unix to the Intel 80386 architecture called 386BSD.<\/p>\n\n\n\n<p>Frightened by the \u201cfree PC Unix clone\u201d possibilities of 386BSD, AT&amp;T sued Berkeley. Predictably, Berkeley countersued AT&amp;T. While their lawyer landsharks battled it out, AT&amp;T sold the SVR4 code rights to Novell (anyone remember UnixWare?). Development still went on in the meantime, and a horde of groups worked on merging the BSD and SVR4 releases or creating an entirely new Unix. Around about a million different Unix \u201cstandards\u201d groups came into existence and were wholeheartedly ignored by everyone else.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>UNIX \u2013 LIVE FREE OR DIE<\/strong><\/h1>\n\n\n\n<p>Richard Stallman had already begun his \u201cfree-software\u201d movement in the mid-\u201880s when he started to read \u201cKarl Marx\u2019s Greatest Hits\u201d and write Emacs. With some MIT buddies, he formed the GNU (GNU\u2019s Not Unix) Project to take all of those AT&amp;T Unix utilities and make better versions that were free\/open source \u2013 and eventually to create a completely new free Unix, to be called the GNU Hurd. The GNU license(s) essentially forbade using the code in products that were not open. The GNU licenses provided the crucial distinction of the \u201cfree software\u201d movement that would evolve from the GNU project, and separated it from the looser BSD license, which would become the model of the often semi-corporate \u201copen source software\u201d movement of the late 1990s.<\/p>\n\n\n\n<p>Meanwhile, in 1991, a 21-year-old Finnish computer science student named Linus Torvalds was working on making a free and better version of Unix\u2019s kissing cousin Minix. Torvalds developed the beginnings of a completely new kernel (the \u201ccore\u201d part of the OS that handles memory management and device input\/output, and acts as interface between hardware and software), and posted to Usenet\u2019s&nbsp;comp.os.minix&nbsp;his source code for version 0.02 of what would soon be called \u201cLinux.\u201d<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>THE RISE OF FREENIXES<\/strong><\/h1>\n\n\n\n<p>The BSD development model emphasized a \u201ccore team\u201d of developers responsible for the primary guidance of a project, and a number of teams sprang up to release free versions of Unix based on the BSD code. Unfortunately, they all managed to get along \u201clike two cats in a sack.\u201d<\/p>\n\n\n\n<p>At the same time, Linux \u2013 which had been released under a GNU license \u2013 emphasized a decentralized development model. Torvalds remained that head of Linux kernel development, and Linux variants were unified by their use of the Torvalds-approved kernel. However, everyone was invited to take part in adding drivers and kernel developments, and anyone was free to form their own Linux \u201cdistribution\u201d (anyone remember Yggdrasil?) concentrating on whatever direction they felt that Linux should go.&nbsp;<\/p>\n\n\n\n<p>Suddenly, in 1994, the lawyer-welfare project known as the \u201cAT&amp;T\/Novell vs. Berkeley war\u201d ended. The exact details of the settlement are sketchy, but BSDI shortly thereafter discontinued its Net\/2-based system and replaced it with a release based on a new code base called 4.4 BSD Lite. Novell eventually sold its SVR4 rights to the Santa Cruz Organization (SCO), and the SVR4-based non-free Unixes (including Solaris, HP\/UX, Digital Unix and IBM\u2019s AIX) continued and proliferated. Also in 1994, Linux kernel 1.0 was quietly released. In time, Stallman\u2019s Free Software Foundation \u2013 seeing that the GNU Hurd project would be up to speed sometime around 2040 \u2013&nbsp;came to adopt Linux (Debian distribution) as a replacement for the Hurd, despite some well-publicized nomenclature hissy-fits by Stallman about calling Linux \u201cGNU\/Linux.\u201d<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>RIGHT HERE, RIGHT NOW<\/strong><\/h1>\n\n\n\n<p>Today, the commercial Unixes are still around and (at least some of them) flourishing. Meanwhile, development for hobbyists, hackers, ISPs and many businesses has focused on the Freenix family. Right now, there are four primary Freenixes of interest to ISPs: Linux, FreeBSD, NetBSD and OpenBSD \u2013 each with a different philosophy, focus, and strengths or weaknesses.<\/p>\n\n\n\n<p>In next month\u2019s edition, we\u2019ll explore what makes them different, and why one or the other may be right for your ISP. In the meantime, those of you with enough free time or pain tolerance to have read this far should please feel free to send your questions and comments about the varying Freenix families to&nbsp;<em><a href=\"mailto:jcarl@servint.com\">jcarl@servint.com<\/a><\/em>. Flames and hate mail should be directed to John Dvorak. \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Jeffrey Carl This was my first &#8220;UNIX Flavor Country&#8221; column for Boardwatch Magazine. My first article had gone over so well &#8211; in that it filled up two full pages, did not provoke an angry letters and cost the magazine $100 &#8211; that my friend Greg Tally offered me a full-time columnist gig. These, &hellip; <a href=\"https:\/\/www.jeffcarl.com\/index.php\/1999\/10\/19\/freenixes-and-unix-history\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Freenixes and Unix History<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":22,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,66],"tags":[],"class_list":["post-26","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-boardwatch-writing","category-tech"],"jetpack_featured_media_url":"https:\/\/www.jeffcarl.com\/wp-content\/uploads\/2020\/04\/bwatch.gif","_links":{"self":[{"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":2,"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"predecessor-version":[{"id":29,"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/posts\/26\/revisions\/29"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/media\/22"}],"wp:attachment":[{"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jeffcarl.com\/index.php\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}