why you should migrate everything from linux to bsd

栏目: IT技术 · 发布时间: 4年前

内容简介:Posted on 2020-01-18. Last updated on 2020-01-20.As an operating system GNU/Linux has become a real mess because of the fragmented nature of the project, the bloatware in the kernel, and because of the jerking around by commercial interrests.In 1983 Richar

Why you should migrate everything from Linux to BSD

Posted on 2020-01-18. Last updated on 2020-01-20.

As an operating system GNU/Linux has become a real mess because of the fragmented nature of the project, the bloatware in the kernel, and because of the jerking around by commercial interrests.

Table of Contents

  • Linux has been hijacked
  • BSD is where the sane people are
  • Time to migrate everything to BSD

Linux is fragmented

In 1983 Richard Stallman announced his intent to start coding the GNU Project in a Usenet message. By June 1987, the project had accumulated and developed free and Open Source software for an assembler, an almost finished portable optimizing C compiler (GCC), an editor (GNU Emacs), and various Unix utilities, such as ls, grep, awk, make and ld.

In 1991, the Linux kernel appeared, developed outside the GNU project by Linus Torvalds, and in December 1992 it was made available under version 2 of the GNU General Public License. Combined with the operating system utilities already developed by the GNU project, it became the GNU/Linux operating system, better known as just "Linux".

Then came the Linux distributions. Different projects took the Linux kernel, the GNU tools and libraries, additional third party software, documentation, the X Window System, a window manager, and a desktop environment, and combined those components into the distributions. Different distributions focused on different goals, some put focus on the desktop while others put their main focus on servers, and again others tried to provide a multi-purpose operating system.

In the past all these different components and projects where developed by Open Source enthusiasts and the passion for programming and Open Source was the driving force.

This is no longer the case!

Linus Torvalds has many times made it very clear that he doesn't care about what goes on in the "Linux world", all he cares about is the kernel development, and on January 6, 2020 in the "Moderated Discussions" forum at realworldtech.com , Linus Torvalds answered a user's question, with an absolute jaw-dropping comment, about a year-old kernel maintenance controversy that heavily impacted the ZFS on Linux project.

After answering the user's actual question, Torvalds went on to make very wrong and damaging claims about the ZFS filesystem. Torvalds said:

It (ZFS) was always more of a buzzword than anything else.

By that statements Linus Torvalds has just reduced more that 15 years of development of one of the most robust and popular filesystems in the world into a "buzzword"!

ZFS is described as "The last word in filesystems". It is a combined filesystem and logical volume manager originally designed by Sun Microsystems. ZFS is a stable, fast, secure, and future-proof filesystem. It is scalable, and includes extensive protection against data corruption, support for high storage capacities, a maximum 16 Exabyte file size, and a maximum 256 Quadrillion Zettabytes storage with no limit on number of filesystems (datasets) or files, efficient data compression, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z, native NFSv4 ACLs, and can be very precisely configured.

The two main implementations, by Oracle and by the OpenZFS project, are extremely similar, making ZFS widely available within Unix-like systems.

As mentioned in the Wikipedia article, OpenZFS is an umbrella project aimed at bringing together individuals and companies that use the ZFS file system and work on its improvements, aiming as well at making ZFS more widely used and developed in an open-source manner. OpenZFS brings together developers from the illumos, Linux, FreeBSD, and macOS platforms, and a wide range of companies. High-level goals of the project include raising awareness of the quality, utility and availability of open-source implementations of ZFS, encouraging open communication about ongoing efforts toward improving open-source variants of ZFS, and ensuring consistent reliability, functionality and performance of all distributions of ZFS.

OpenZFS on Linux , which is the Linux part of the project, has currently 345 active contributers with more that 5.600 commits, and commits are being made on an almost daily basis!

Some of the worlds biggest CDN and data storage services runs ZFS on either FreeBSD or Linux!

In another situation Linux Torvalds gave an interview on TFiR: Open Source and Emerging Tech YouTube channel about Linux on the desktop in which he makes another amazing statement saying that Linux still isn't ready for the desktop and that perhaps Chrome OS is the solution to that problem.

These and many other statements by Linus Torvalds shows that Torvalds should avoid authoritative statements about projects he's unfamiliar with, but more importantly they also show that Linux as an operating system has no real direction and no clear management because the kernel development is performed in isolation from the rest of the Linux world.

Linus Torvalds is generally very open to the rapid influence by corporate interests and his perspective on security is also worrying.

In 2009 Linus Torvalds admitted that the kernel development is getting out of control.

We're getting bloated and huge. Yes, it's a problem ... Uh, I'd love to say we have a plan ... I mean, sometimes it's a bit sad that we are definitely not the streamlined, small, hyper-efficient kernel that I envisioned 15 years ago ... The kernel is huge and bloated, and our icache footprint is scary. I mean, there is no question about that. And whenever we add a new feature, it only gets worse.

At LinuxCon 2014, he said that he thinks the bloat situation is better because modern PCs are a lot faster!

We've been bloating the kernel over the last 20 years, but hardware has grown faster.

This is a very problematic attitude.

When software gets bloated it not only becomes more insecure and more error prone, but it also becomes much slower. Thinking that the problem goes away because hardware becomes faster is an immature attitude. In this day and age we need to optimize software so that less power is required, we need to save power and limit pollution.

In a 2007 interview "Why I quit": kernel developer Con Kolivas he stated:

If there is any one big problem with kernel development and Linux it is the complete disconnection of the development process from normal users. You know, the ones who constitute 99.9% of the Linux user base. The Linux kernel mailing list is the way to communicate with the kernel developers. To put it mildly, the Linux kernel mailing list (lkml) is about as scary a communication forum as they come. Most people are absolutely terrified of mailing the list lest they get flamed for their inexperience, an inappropriate bug report, being stupid or whatever. ... I think the kernel developers at large haven't got the faintest idea just how big the problems in userspace are.

Linux has been hijacked

A Linux distribution is a collection of tools written by different groups of people, often with conflicting interests and priorities, and because of this fragmented structure of the GNU/Linux operating system, the project as a whole is rapidly spinning out of control as it gets pushed around by commercial interests.

Even the best GNU/Linux distributions, such as Debian GNU/Linux and Arch Linux, that are still driven by Open Source enthusiasts, are not immune to this problem because they still depend heavily on the fragmented tools.

In my article The real motivation behind systemd I have previously written about how the primary reason for developing systemd is Red Hat's interests in embedded devices. Initially systemd was released as a new init system, but it has slowly grown into what Poettering describes as "a suite of software that provides fundamental building blocks for a Linux operating system." This is by design, not by coincidence.

In an interview with Red Had CEO Jim Whitehurst he states:

We partner with the largest embedded vendors in the world, particularly in the telecom and automotive industries where stability and reliability is the number one concern. They easily adapted to systemd.

systemd does provide improvements to Linux, but the main problem with systemd is that its continued development is motivated by a company's economic interests and not the Open Source community interests. As such, the adoption of systemd by the major Linux distributions, such as Debian GNU/Linux and Arch Linux, was a big mistake.

Another heavy influencer on the Linux world is Google. Google has developed both Android and Chrome OS, both Linux kernel-based operating systems. Chrome OS is derived from Chromium OS and uses the Google Chrome web browser as its principal user interface.

Chrome OS is viewed as a competitor to Microsoft, both directly to Microsoft Windows and indirectly the company's word processing and spreadsheet applications, the latter through Chrome OS's reliance on cloud computing. And this is one of the core problems with Chrome OS, it is build with great reliance of Googles cloud infrastructure.

Google has become one of the most controversial companies . Google is in its essence an advertisement company and it has become famous for their manipulation of search results and extreme user tracking capabilities, mainly thanks to the stupidity of web developers adding Google Analytics to their websites.

In a YouTube video from August 2019 by Linus Tech Tips , Linus Sebastian demonstrates how tracking on the Internet works and how it affects the prices you get offered when you search for products. Please note : The video was sponsored by Private Internet Access, a company that has since been bought by Kape Technologies which is known for sending malware through their software and for being really scummy in general. Don't use Private Internet Access!

Cloudflare is another American web infrastructure and website company that is affecting the development of Linux. The company provides services that actually sit between a website's visitor and the Cloudflare user's hosting provider, acting as a reverse proxy for websites. As such Cloudflare has become one of the greatest cancers of the Internet.

Both systemd and Mozilla has managed to integrate Cloudflare into the core of their products. systemd has integrated both Cloudflare's and Google's DNS servers as opt-out in systemd-resolved and Mozilla is defaulting their DNS over HTTPS in Firefox to Cloudflare.

Even though Mozilla Firefox isn't a Linux project, it is still one of the most widely used browsers on the different Linux distributions and when Mozilla makes the big mistake of integrating DNS over HTTPS in Firefox, let alone using Cloudflare, they are setting a very bad precedence.

DNS over HTTPS is by itself bad enough , but by combining it with a controversial company like Cloudflare it makes it even worse.

BSD is where the sane people are

Contrary to the Linux distributions the Berkeley Software Distribution (BSD) is not a fragmented project. The BSD projects maintain the entire operating system, not only the kernel.

BSD was an operating system based on Research Unix, developed and distributed by the Computer Systems Research Group (CSRG) at the University of California, Berkeley. Today, "BSD" refers to its descendants, such as FreeBSD , OpenBSD , NetBSD and DragonFly BSD . These projects are real operating systems not just kernels and they are not "distributions".

Linux distributions, such as Debian GNU/Linux and Arch Linux have to do the work of bringing together all the software required to create a complete Linux operating system. They need the Linux kernel , the GNU tools and libraries , an init system , and some amount of third party applications.

In contrast, the BSDs are both a kernel and a complete operating system. For example, FreeBSD provides both the FreeBSD kernel and the FreeBSD operating system. It is maintained as a single project.

No one person or corporation owns BSD. It is created and distributed by a community of highly technical and committed contributors all over the world.

Companies also use and contribute to BSD , but contrary to Linux, a company cannot "hijack" BSD. A company can make their own version of BSD, such as Sony Computer Entertainment has done for their PlayStation 3, PlayStation 4 and PlayStation Vita gaming consoles, but because the BSDs are complete operating systems, and because each BSD project is maintained and developed by Open Source enthusiasts, not companies such as Red Hat, the BSD projects are really and truly independent.

As a result of this organization structure you don't find crazy opt-out settings in your basic installation, no matter what BSD project you choose, and you don't find privacy compromising solutions integrated into the operating system components. On the contrary, because these projects are developed and driven by highly skilled and really enthusiastic people who really care about operating system design, security, and privacy, you will often find that even the third party software that are available for installation using a package manager gets patched so that these problems don't exist.

Another great benefit from all of this is that the communities that surround the BSD projects consist of experienced, helpful, and (for the most part) kind people. This is something that newcomers often notice right away. Of course you will stumble upon the occasional idiot who thinks that because he is using OpenBSD he is something special, and when you ask for help or information he will respond with a quick condescending and degrading reply, but while these kinds of people often thrive in great numbers on many Linus distribution communication channels, they are more rare on BSD. The FreeBSD community is especially kind and helpful.

License problems

The Linux GPL license is more strict on developers as it forces a release of all modified source code. BSD developers on the other hand have no such restrictions. Manufacturers may opt for BSD as their operating system of choice when creating new devices instead of Linux. This would allow them to keep the code modifications to themselves. With Linux the license force the release of the source code to the public.

The GPL license may sound better, because why should we allow companies to simply "steal" our Open Source code and produce closed source products based upon that without giving anything back. But it's not that simple. By forcing companies to release source code to the public such code may be rejected by the original developers, which again makes companies more manipulative.

The tactics deployed by Red Hat was to try to get as many "important" third party projects to cooperate very tightly with systemd, or even depend upon systemd. This way other Linux distributions are more easily persuaded into adopting systemd because of the easy integration of these third party projects. The systemd developers addressed several third party projects and tried to convince them to make their projects either depend upon systemd, such as the attempts made by Lennart Poettering on the Gnome mailing list , and the attempt made by Red Hat developer "keszybz" on the tmux project . Most of these attempts were originally "disguised" as technical issues, however when you read the long email correspondence on the Gnome mailing list and elsewhere, the real intent becomes quite clear.

Such manipulation isn't needed in BSD. Companies are free to do whatever they want with BSD and as such they don't need to try to affect the way things are going. If that wasn't the case we would possible see, for example, Sony trying very hard to influence the development of FreeBSD because they use that in their PlayStation products.

The different GNU/Linux distributions, such as Debian GNU/Linux, Arch Linux, and even Red Hat Linux back in the days, where really great projects. When projects are driven by passion and not profit they tend to become much better quality, something which is still evident on the server platform as both Linux and BSD always dominated the server infrastructure because of the quality they provided. However, when projects are no longer driven by passion, but rather by profit, they rapidly decline in quality. This is natural because motivation by profit is very different from motivation by passion. This is one of the reasons why Microsoft Windows has always been so crappy both as a server and as a desktop operating system.

The reason for the success for Microsoft Windows on the desktop isn't because people believe that Windows is a great operating system, no sane and experienced system administrator or IT supporter believes that, rather it is because of the extremely aggressive marketing strategy deployed by Microsoft.

While the BSD projects do get both code and occasional financial support from companies, they are driven by passion and not by profit. This mainly means sane and well thought out decisions. Of course mistakes are made from time to time, but there are no compromises with privacy or security for the benefit of profit such as we now find in Linux.

Time to migrate everything to BSD

Back in about 1998-2000 I started migrating every server and desktop operating system from Microsoft Windows, both at home and at my company, to GNU/Linux, initially Red Hat Linux and then later Debian GNU/Linux. I did that because I had spent about 8 years doing Microsoft Windows support and wasted so much time on this absolutely horrible operating system.

When I was recommended GNU/Linux by a good friend of mine I was amazed at how well it performed, how amazing the Open Source community where, and how all the usual problems related to Windows just vanished. Whenever I replaced a Windows setup with a Linux setup at a customer, a family member, or a friend, the support hours rapidly declined. Of course this meant less customer support work, but this was great because now we could concentrate our time on more important matters.

A little later I discovered the BSD world and eventually also began deploying both FreeBSD and OpenBSD on servers and on desktops too.

Back in the days Linux often had better hardware support than BSD and as a result I generally used Linux more than BSD. Hardware was expensive and it was not always possible to purchase hardware based upon which operating system you wanted to run on the system. This is different today where the BSDs generally have great support for modern hardware.

I have never used NetBSD or DragonFly BSD, not because these projects are bad, but simply because I prefer FreeBSD and OpenBSD.

I still like both Debian GNU/Linux and Arch Linux, but I don't want to worry about insane privacy settings in default installations of systemd, I don't wont to worry about all the crazy bloatware that goes into the kernel, such as the kernel forcing adaption of DRM , I don't want to worry about whatever the next stupid thing is going to be, and to be honest, I want a real operating system !

As an operating system Linux has become a real mess because of the fragmented nature of the project and because of the jerking around by commercial interrests.

I have previously written about OpenBSD in my articleOpenBSD is fantastic, so I won't go into more details about OpenBSD, but I have never taken the time to write about FreeBSD, something I hope to do sometime in the near future (update 2020-01-20: I just did with the article FreeBSD is an amazing operating system ), but until then a few links may provide some relevant information.

Note:FreeBSD has grown considerably since the interview with Allan Jude back in 2016.

FreeBSD is a complete operating system produced by a team of people who are passionate about the work they do, there are no conflicting interests in the project. The people who maintain the kernel are also the people who maintain the C library, the ls, stat and other commands, and the different tools. The FreeBSD team also provides full documentation to everything related to the operating system.

Because FreeBSD is a real multi-purpose operating system with many different use cases, FreeBSD is very flexible and tuneable. Whether you want to run FreeBSD on your desktop computer or on your server, it provides many tuneable options that enables you to make it very performant. The options set out-of-the box may not suit your needs exactly, but then FreeBSD provides lots of documentation on how to get it to work as you need, and it provides a very helpful community with many people who has experience in dealing with many different situations and problems.

Other relevant links


以上所述就是小编给大家介绍的《why you should migrate everything from linux to bsd》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

大学算法教程

大学算法教程

约翰森堡 / 清华大学 / 2007-6 / 69.80元

本书是美国德保罗大学DePaul University教授R.Johnsonbaugh等人长期从事算法课程教学经验的结晶,是一本关于算法基础知识和基本方法的教科书。内容包括:算法必备的数学基础、数据结构和描述算法的语言与记号;常用算法的设计分析及其正确性证明;NP和NP完全问题的特征及其近似处理方法。 全书含300多个生动有趣的算法实际示例和1450多道习题,从经典方法到最新成果,层层剖析......一起来看看 《大学算法教程》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具