News for hackers. Stuff that matters.
Re:FreeBSD Desktop – Part 3 – X11 Window System by kdasme on Wednesday November 25, 2020 @01:53PM (#25212828)
FreeBSD is such a great OS and has a very powerful kernel. So much potential, it is sad to see Linux is the only unix OS that gets traction. They've had Jails in BSD long before Docker was a thing. Debian GNU/kFreeBSD was promising but it probably just doesn't make sense to maintain that project given lack of attention. :(
Re:FreeBSD Desktop – Part 3 – X11 Window System by danieldk on Wednesday November 25, 2020 @02:02PM (#25212942)
Linux is the only unix OS that gets traction

Darwin (macOS, iOS, iPadOS, tvOS, watchOS)?

And I guess that technically Minix is one of the most successful Unix-like systems. [1]

[1] https://www.cs.vu.nl/~ast/intel/

Re:FreeBSD Desktop – Part 3 – X11 Window System by wayneftw on Wednesday November 25, 2020 @04:13PM (#25214353)
> iOS, iPadOS, tvOS, watchOS

Those are systems for Apple to control you and their devices that you paid for, not for you to control any device that you own. Therefore, the only traction they've really gotten is with one single user - Apple.

> macOS

For now.

(Relax everybody, I'm at least half kidding.)

Re:FreeBSD Desktop – Part 3 – X11 Window System by lrvick on Wednesday November 25, 2020 @04:24PM (#25214460)
I would say that is pretty spot on, and I would include MacOS in that list to a lesser extent too.

You can't change much about how MacOS works under the hood anymore. If you don't like how it works, tough.

The device and OS are not yours.

Also why no one could pay me enough to rely on Apple hardware or software at this point for anything but entertainment.

Re:FreeBSD Desktop – Part 3 – X11 Window System by spijdar on Wednesday November 25, 2020 @02:14PM (#25213061)
Probably worth pointing out a significant portion of the BSD "personality" in the XNU kernel is just straight FreeBSD. You could kind of say XNU is a superset of the FreeBSD kernel.

On top of that, the unix userland resembles FreeBSD, although it's pretty eclectic in choices, e.g. it ships with GNU grep and GNU make by default IIRC while I think FreeBSD uses BSD grep and make by default?

(Darwin is pretty eclectic overall -- some portions are more NetBSDish. Kernel is mostly Free I think)

Re:FreeBSD Desktop – Part 3 – X11 Window System by wahern on Wednesday November 25, 2020 @05:50PM (#25215165)
macOS grep is from FreeBSD, at least as of macOS Mojave (10.14). (Source code for 10.14 might be at https://opensource.apple.com/source/text_cmds/text_cmds-99/g....) Not sure if it was ever GNU grep. Maybe before the big purge in 2011?

IME, most of the basic shell commands are either directly from FreeBSD or a project in the BSD universe. For example tar is from libarchive, a distinct project (see https://github.com/libarchive/libarchive) that DragonflyBSD, FreeBSD, NetBSD, and macOS import and track. (But oddly not OpenBSD, which has evolved the 4.4BSD-Lite implementation.)

According to a 2012 accounting at http://meta.ath0.com/2012/02/05/apples-great-gpl-purge/ (via https://news.ycombinator.com/item?id=3559990), macOS was down to 16 GPL packages in macOS 10.12 from 47 in macOS 10.5.

Re:FreeBSD Desktop – Part 3 – X11 Window System by danieldk on Thursday November 26, 2020 @01:51AM (#25217535)
macOS grep is from FreeBSD, at least as of macOS Mojave (10.14).

Yep, it still is. On Big Sur on M1:

    $ grep --version
    grep (BSD grep) 2.5.1-FreeBSD
Re:FreeBSD Desktop – Part 3 – X11 Window System by spijdar on Thursday November 26, 2020 @02:56AM (#25217894)
Yeah, I'm just an idiot. I guess I was just thinking of GNU make.

On the other hand, it looks like (at least on Catalina?) it ships with GNU diffutils, so patch, cmp, diff are all GNU utilities. I'm going to sheepishly pretend like this proves my point somehow :-)

Re:FreeBSD Desktop – Part 3 – X11 Window System by kevans91 on Friday November 27, 2020 @08:59PM (#25234475)
A little late to the party, but- MacOS has actually beaten FreeBSD to the punch by shipping with bsdgrep as grep for years at this point.

FreeBSD should be able to switch before 13.0, but the bsdgrep developer is a slacker. It's only missing a couple of GNU extensions that are somewhat surprisingly (to me) common.

Re:FreeBSD Desktop – Part 3 – X11 Window System by hollander on Wednesday November 25, 2020 @02:38PM (#25213349)
How about the biggest: Android?!
Re:FreeBSD Desktop – Part 3 – X11 Window System by cferr on Wednesday November 25, 2020 @03:30PM (#25213953)
Android runs on a Linux kernel.
Re:FreeBSD Desktop – Part 3 – X11 Window System by musicale on Wednesday November 25, 2020 @06:24PM (#25215427)
> it is sad to see Linux is the only unix OS that gets traction

I would guess that there are more BSD users than there ever have been in 2020.

FreeBSD (like *BSD in general) may be a niche OS, but there are probably millions of users and thousands of developers; certainly enough to keep the platform going.

Not everything has to be mainstream, after all; there is probably a "medium tail" of operating systems which BSD is a solid part of.

Re:FreeBSD Desktop – Part 3 – X11 Window System by pjmlp on Wednesday November 25, 2020 @03:47PM (#25214133)
That is the beauty of its license.

If Linux never happened, we would still all be using HP-UX, Solaris, Aix, Tru64, and all the other clones that integrated some form of BSD code.

Re:FreeBSD Desktop – Part 3 – X11 Window System by ibiza on Wednesday November 25, 2020 @04:58PM (#25214744)
Actually, had 386BSD happened just a bit earlier, we would all be using FreeBSD.

> If 386BSD had been available when I started on Linux, Linux would probably never had happened.

Re:FreeBSD Desktop – Part 3 – X11 Window System by pjmlp on Wednesday November 25, 2020 @06:01PM (#25215252)
The difference is that with the BSDs everyone can take and don't bother to contribute upstream, e.g. Apple and Sony.
Re:FreeBSD Desktop – Part 3 – X11 Window System by throw0101a on Wednesday November 25, 2020 @06:46PM (#25215569)
> The difference is that with the BSDs everyone can take and don't bother to contribute upstream, e.g. Apple and Sony.

This depends on the use case of the company.

A lot of companies learned that simply forking the project and not giving back is a good pathway to pain because now you have to carry your internal patches forward, as well as a larger and larger diff against the base OS itself as it changes.

If you forked (e.g.) FreeBSD 9 and based your product off of it, and the project is now at version 12.x (with 13.x in 2021Q1), then that's a lot to keep up with internally.

It's better to use the base OS, and the documented APIs, for one's secret sauce, and give back everything else. This is what vendors like Netflix, Dell-EMC Isilon, NetApp, etc. do. You'll also see quite a few patches from Microsoft and Amazon as they want to sell their cloud services for as many guest OSes as possible. Hardware vendors (Chelsio, Mellanox, Cavium) also throw in support so that hardware companies will use their products with-in appliances.

Others, like Sony with the PS4 and PS5, mostly seem to operate in user land and so do not do much kernel-level stuff (except perhaps booting code) that would need to be back ported.

Re:FreeBSD Desktop – Part 3 – X11 Window System by loeg on Wednesday November 25, 2020 @09:25PM (#25216309)
Sony thoroughly hack up their kernel for the PS4. They just don’t care about the cost of doing it again on a newer FreeBSD base.
Re:FreeBSD Desktop – Part 3 – X11 Window System by throw0101a on Thursday November 26, 2020 @06:59AM (#25219182)
Probably because they don't care with stay current: the PS4 isn't going to change much after initial development, so why should the base OS? Similarly now that the PS5 has shipped, I doubt there will be much OS development there.

If FreeBSD (or Linux) weren't around, then they'd simply purchase/license an embedded OS (QNX?) and use that.

Re:FreeBSD Desktop – Part 3 – X11 Window System by loeg on Thursday November 26, 2020 @12:11PM (#25221777)
Yes, exactly.
Re:FreeBSD Desktop – Part 3 – X11 Window System by beezle on Wednesday November 25, 2020 @09:25PM (#25216307)
Isn't that argument put to bed by the fact that all of the BSDs still exist, are actively maintained including new features and are used by many individuals/corps in a diverse range of cases?
Re:FreeBSD Desktop – Part 3 – X11 Window System by pjmlp on Thursday November 26, 2020 @01:26AM (#25217406)
Do they? I would say they struggle to exist.

There is hardly a reason to install them other than wanting free beer OS without GPL-strings attached or being a systemd hater, and then suffer a desktop experiece that feels like stuck in early 2000.

Conferences related to BSDs usually boil down to running the same code in newer hardware or filesystems.

Re:FreeBSD Desktop – Part 3 – X11 Window System by nix23 on Friday November 27, 2020 @06:57AM (#25227920)
>OS without GPL-strings attached

You know why you never seen a Google Server OS? Because you just have to give code back to the community if you REDISTRIBUTE your code.

>Conferences related to BSDs usually boil down to running the same code in newer hardware or filesystems.

That's complete and utter BS, you really sound like a hater but not a systemd one.

Re:FreeBSD Desktop – Part 3 – X11 Window System by erk__ on Wednesday November 25, 2020 @03:22PM (#25213849)
And the traction it gets is mostly in closed source projects where the code may not be contributed back. For example Orbis OS, the OS of the Playstation 4 and quite possible 5 as well.
Re:FreeBSD Desktop – Part 3 – X11 Window System by Sigmoid on Wednesday November 25, 2020 @08:49PM (#25216158)
Can you or someone explain to me or link me reasons why BSD is a preferable choice to linux? What kind of advantages and disadvantages are there to the OS?
Re:FreeBSD Desktop – Part 3 – X11 Window System by mchiteri on Thursday November 26, 2020 @09:30AM (#25220271)
There is a nice write-up on FreeBSD for Linux users you can take a look at http://www.over-yonder.net/~fullermd/rants/bsd4linux/01