6 ms·
I love how people worship UNIX design in Linux circles, especially when complaining about decisions where Linux is catching up with commercial UNIXes, as in the
by pjmlp 10mo ago
I love how people worship UNIX design in Linux circles, especially when complaining about decisions where Linux is catching up with commercial UNIXes, as in the init systems replacements.
UNIX design was so great that its authors did two other operating systems trying to make UNIX done right.
One of the few times I agree with Rob Pike,
> We really are using a 1970s era operating system well past its sell-by date. We get a lot done, and we have fun, but let's face it, the fundamental design of Unix is older than many of the readers of Slashdot, while lots of different, great ideas about computing and networks have been developed in the last 30 years. Using Unix is the computing equivalent of listening only to music by David Cassidy.
- rusk 10mo ago> We really are using a 1970s era 1970 Anno Domini no less
- pjmlp 10mo agoMaking it even more so of a religion. UNIX is only an OS with some good ideas, and also plenty of bad ones. No reason to stick with it ad eternum as some kind of holy scriptures.
- donkeybeer 10mo agoIt's "problem" unfortunately is that it happens to be the only major foss os. If there were other foss oses with good support and "better" models I'd gladly try them out. I know I personally would never switch to any non foss os after the user friendliness I have experienced. I would say that's the main reason many stick to it, including game theoretic arguments for commercial players also. Not because people like to stick to ancient models. It's not a ideal system obviously but going back to locked down crap is a no go for me and perhaps many others. BSDs are ok too but the suicidal licensing makes me less inclined.
- Gud 10mo agoWhat’s suicidal about the BSD license? BSD code is everywhere
- donkeybeer 10mo agoYes and much of it is sealed off and proprietary. The bsd oses got MacOS for all their hard work, a closed off system that they can't read or port back anything from. Someone would say linux or gpl projects also have been fucked over this way. I suppose if your house has been burgled, such a person would argue we must remove all protections rather than add more.
- its_magic 10mo agoMIT et al are winning over GPL for a reason. I'm not a big corporation. I prefer MIT, or better yet, public domain.
- donkeybeer 10mo agoAre they winning as in more people are picking the license or are they winning as in we are getting a overall more enriched foss community? I don't understand why people have such difficulties with the Golden Rule, sounds a simple and fair enough concept.
- its_magic 10mo agoWe are winning as in "we have more freedom to do as we like without a bunch of lawyers breathing down our necks." Freedom and liberty are what I value. There is no harm occurring to software as a result of more freedom or more liberty. Quite to the contrary. Is your Golden Rule "you will use 'my' software exactly how I dictate, or else I'll call my dogs to attack you"? That's not the one I was taught. I release all my code in the public domain.
- donkeybeer 10mo ago
- bayindirh 10mo agoThat's true, but some of the arguably worst ideas are the ones which makes it the most approachable, hackable and understandable. Hindsight is an interesting thing. Makes mistakes more visible while making Chesterton's Fences invisible. We shouldn't forget these. These fences are there for the reasons. Yes, fences can be revised, but shall not be ignored.
- fsflover 10mo agoYou are so vague in your attack on Unix approach that it's borderline trolling. What are your problems with it? Modularity and minimalism have been working perfectly and that systemd does not follow them is a bad thing.
- pjmlp 10mo agoThere is a book on that, gets posted every now and then on HN. In case you never read it, https://web.mit.edu/~simsong/www/ugh.pdf https://web.mit.edu/~simsong/www/ugh.pdf Hardly the piece of OS beauty that gets praised about FOSS circles.
- rusk 10mo agoI love that book but isn’t it nearly 30 years old?
- pjmlp 10mo agoAnd yet many of the pain points are still kind of relevant, go figure.
- fsflover 10mo agoI'm not talking about the OS though but about the approach.
- pjmlp 10mo agoGoes to both, otherwise UNIX authors would not have tried to improve their creations, working on successors to both UNIX and C.
- krautburglar 10mo agoBut that book is a waste. It is just MIT dunning-krugerites who were salty that LISP machines never took off. When it comes to real life, the bell labs approach won, and for several good reasons. Not "worse is better" (another dunning-krugerite cope), but "less is more."
- wobfan 10mo agoThe article is not about UNIX, what's good and bad, but what's better for understanding Linux. And replacing SysVInit with systemd is, objectively, bad for understand the core of Linux. And this is the core of LFS. Discussing whether UNIX is good or bad seems narrow-minded, as there is no solution to that. It's like discussing whether iOS is better than Android. We can always isolate some specific parts and discuss that, but just slashing the whole concept doesn't help anyone and rarely yields any meaningful results.
- Someone 10mo ago> And replacing SysVInit with systemd is, objectively, bad for understand the core of Linux. I know there are strong opinions on this, but isn’t systemd part of the core of most Linux desktops nowadays?
- Gud 10mo agoUnfortunately yes
- edoceo 10mo agoAll of my Debian out of the box has systemd. On Gentoo it's OpenRC, which I find easier. But! There are some work-around packages that implement some stubs of systemd things because other packages are designed for systemd only world (one such stub is elogind)
- rusk 10mo agoMy point was, that there’s plenty of ancient things we plod along with, even though they’re not perfect. Many have tried to improve upon them but few have stuck.
- nine_k 10mo agoA project which is intended to be a learning experience in building a Unix variant (in this case, Linux) is a kinda right place for sticking to the Unix philosophy and design, for illustrative purposes. Mr Pike has indeed constructed a better OS than Unix; too bad AT&T neither knew how to achieve viral popularity, nor why Free Software (as in GPL) is going to dominate the world. By about 1995, it was already too late. (Something similar happened to Inferno vs Java.) Still, the Unix principles of modularity, composability, doing one thing well, and unified interfaces are widely considered very sane, and adopted.
- pjmlp 10mo agoNot as much as people in Linux community think, especially those that never used commercial UNIX offerings. GPL is on its way out, a good example is that all Linux competitors in the embedded space, including Linux Foundation's Zephyr, none of them has adopted GPL. GPL based software is now a minority, almost everything uses licenses that businesses rather reach for.
- nine_k 10mo agoI suspect that GPL2 was instrumental in guaranteeing that the work sacrificed into the common pot of Linux kernel is not going to be taken by a competitor when it's still unpolished, closed, and used to achieve market domination. FreeBSD came before Linux (as 386BSD), and is also active used by the industry. How much code did Sony or Raytheon shared back to FreeBSD? (LLVM is not FreeBSD proper.)
- pjmlp 10mo agoSee Android for how much that is working in practice, outside the kernel. Or the Linux distros used by NVidia.
- theICEBeardk 10mo agoI will be honest mentioning Zephyr in a situation when talking about how outdated the Unix design philosophy is, is a bit funny to me since Zephyr (like ecos kinda did once) tries to be Posix-like in its APIs (but ends up not really improving things over the other embedded OSes TBH).
- imiric 10mo agoThis is not about mindless worship, but about the fact that the UNIX design has stood the test of time for this long, and is still a solid base compared to most other operating systems. Sure, there are more modern designs that improve on security and capability (seL4/Genode/Sculpt, Fuchsia), but none are as usable or accessible as UNIX. So when it comes to projects that teach the fundamentals of GNU/Linux, such as LFS, overwhelming the user with a large amount of user space complexity is counterproductive to that goal. I would argue that having GNOME and KDE in BLFS is largely unnecessary and distracting as well, but systemd is core to this issue. There are many other simpler alternatives to all of this software that would be more conducive to learning. Users can continue their journey with any mainstream distro if they want to get familiar with other tooling. LFS is not the right framework for building a distribution, nor should it cover all software in the ecosystem.
- pjmlp 10mo agoExcept that it didn't, Linux has nothing to do with UNIX design, it isn't a UNIX System V in 2026.
- imiric 10mo ago> Linux has nothing to do with UNIX design Respectfully, that's nonsense. Linux is directly inspired by Unix (note: lowercase) and Minix, shares many of their traits (process and user model, system calls, shells, filesystem, small tools that do "one thing well", etc.), and closely follows the POSIX standard. The fact that it's not a direct descendant of commercial Unices is irrelevant. In fact, what you're saying here contradicts that Rob Pike quote you agree with, since Linux is from the 1990s. But all of this is irrelevant to the main topic, which is whether systemd should be part of a project that teaches the fundamentals of GNU/Linux. I'll reiterate that it's only a distraction to this goal.
- pjmlp 10mo agoYet, UNIX or Unix proper descendents, have replaced, or complemented their init systems, with systemd like approaches, before systemd came to be. So is UNIX design only great when it serves the message?
- roenxi 10mo agoAnd we've all heard of the linux people, as opposed to whoever is pushing these post-Cassidy OS. Linux isn't where it is because of some imperial decree, it has been winning out in a slow, protracted war for what OS programmers choose when they want to get work done. Pike is more than entitled to an opinion, but I think there is some cause-effect reversal at work here. The linux circles aren't people driving the UNIX-love. The UNIX-love is effective in practice - especially the blend of principle and pragmatism that the linux community settled on - so the linux circles happen to be bigger than the most similar alternatives. Better alternatives are going to have to fight through the same slog as linux if they want recognition.
- ahartmetz 10mo agoI think the main problem of Unix today is that it's not Unix-style enough. Too many namespaces with too many non-composable separate APIs on them instead of "everything is a file". Plan9 is more Unix than Unix and that's indeed better. Redox OS, too. The Unix security model is mostly useless today, but it seems like something better is possible as an incremental change, and there are projects that do that, like RSBAC.
- rfmoz 10mo agoYes, "everything is a file" but the mouse on Rio is written in stone. Aside of that, plan9 wins on the theoretical side, it was a research OS, but in the practical one... it's opinionated.
- krautburglar 10mo agoCompared to plan9, past its sell-by date. Compared to redhat poetteringware, I will continue to attend services.