4 ms·
No there would have been some big differences. The first is that threads would have a kernel representation unlike in Linux where the kernel just knows about pr
by wbl 3y ago
No there would have been some big differences. The first is that threads would have a kernel representation unlike in Linux where the kernel just knows about processes. This mistake caries over to tools like strace that grab one thread by default because they don't know the others.
Secondly with integrated user space and kernel packaging and distribution would not be a necessity. That would change a lot of things.
Microsoft had taken the TCP implementation from BSD for Windows as shown in the copyright notice. The relationship would be different.
We would not have alternate libcs. Containerization would be built around slightly more heavyweight jails which look like real systems as more software would be assuming that environment.
With systemd there is a real need, but I would hope the solution is better.
- betaby 3y ago> Microsoft had taken the TCP implementation from BSD for Windows as shown in the copyright notice. No. Windows has never had TCP from BSD. This myth was very popular in 200x on some *nix forums however. The copyright in question is related to the command line 'ftp' client.
- arp242 3y agoYou're assuming that BSD systems would have evolved the same way over the last 35 years. I don't think that's a given. People like to tinker and would have created alternative ${anything}s for BSD systems. And even with a bundled userspace and kernel you still have distros; e.g. PC-BSD did the whole "fat packages" thing 20 years ago, and there have been tons of "distros" based on various BSD systems. Jails weren't created until around the late 90s (1998 or 1999 IIRC), and who knows what that would have looked like if (Free)BSD had massively taken off in the same way Linux did, and who knows if "FreeBSD cgroups" wouldn't be a thing in addition to jails? Or: all the people that worked on those Linux things wouldn't have worked in a completely different field: they would have worked on BSD, presumably with (roughly) the same interests, and (roughly) the same opinions. Of course it wouldn't be exactly the same, but roughly, from a high level? It would probably be very similar.
- Gud 3y agoFrom a high enough level, FreeBSD and GNU/Linux already are very similar?
- wbl 3y agoThe threading stuff was being worked on at the same time across Linux and BSD and System V derived systems, and this was during the early Unix wars. Cgroups came long after jails, and I think the need would have been less, although there are reasons they look the way they do.