News for hackers. Stuff that matters.
Re:DragonflyBSD 6.0 by jarrell_mark on Monday May 10, 2021 @02:03PM (#27108914)
A bit unrelated but did you all know that PlayStation's and Switch's OSs are both based on FreeBSD to varying extents?
Re:DragonflyBSD 6.0 by Cu3PO42 on Monday May 10, 2021 @02:28PM (#27109217)
I can't speak to the PlayStation, but this claim doesn't really hold for the Switch. The Switch's OS "Horizon" borrows BSD's networking stack, but then again: which OS doesn't? [0] Nintendo has written their own kernel, which is fully reverse engineered and re-implemented at this point. [1]

[0] https://en.wikipedia.org/wiki/Nintendo_Switch_system_softwar...

[1] https://github.com/Atmosphere-NX/Atmosphere/tree/master/libr...

Re:DragonflyBSD 6.0 by DCKing on Monday May 10, 2021 @02:28PM (#27109219)
The Switch's OS is not based on FreeBSD at all. The Switch's OS is a continued development of the operating system of the Nintendo 2DS/3DS which was likely a custom OS.

Some news sites read the Switch's open source credits crediting the FreeBSD project and ran with the headline "Switch OS based on FreeBSD". By the same measure, people should call Windows "based on FreeBSD" because the kernel uses BSD code or used to at least. It's sub par reporting that turned into an urban legend.

The PS3, PS4 and PS5 operating systems are systems based on the FreeBSD kernel, which is probably why it's tempting to think the Switch would be too.

Re:DragonflyBSD 6.0 by tialaramex on Monday May 10, 2021 @03:48PM (#27110099)
AIUI Even your Windows claim is wrong on the specifics. Microsoft copy-pasted BSD code for a whole bunch of userspace tools, so you'll find some (but not all) of what you'd expect there, but the kernel socket implementation is their own.

If you go back far enough (prior to NT in particular) the OS doesn't provide sockets, or indeed TCP/IP, and it's true that (some?) popular third party vendors just used BSD code, possibly after filing off the serial numbers, but that's not the Windows kernel.

Also, sockets just aren't that clever. I mean, the idea is pretty clever, but once somebody tells you the idea, it's not exactly rocket surgery to implement.

Re:DragonflyBSD 6.0 by nix23 on Monday May 10, 2021 @03:58PM (#27110190)
> it's not exactly rocket surgery to implement.

A secure implementation of sockets in a multiuser-system is not what i would call "trivial"...but yeah the base idea is just a "fifo-file"

Re:DragonflyBSD 6.0 by mrweasel on Monday May 10, 2021 @02:11PM (#27108997)
That does make sense if you're a large corporation. You might not want to develop an OS from scratch, but Windows and WXWorks requires a license. You could go Linux, but what about the GPL? You might be okay, but why risk it. That leaves you with the choice of any of the BSDs.
Re:DragonflyBSD 6.0 by niea_11 on Monday May 10, 2021 @02:20PM (#27109121)
Sony already uses Linux in some of their TVs.

https://oss.sony.net/Products/Linux/TV/KD-43XE7000_v8902.htm...

Re:DragonflyBSD 6.0 by jamal-kumar on Monday May 10, 2021 @03:35PM (#27109903)
Yeah, one of my jobs right now involves having to implement some stuff for the playstation 4/5. You should see the dev and test kits for the ps4 and ps5... they look something like weird desktop computers from 2011 or something more than the actual deal.

https://www.youtube.com/watch?v=jV6kCVXssZ4

Seeing if something will work on the playstation is like, is there a port in freebsd of this software and how do we get it to run on this thing. You don't get the ports collection unfortunately but thankfully ports are kind of just like a patch diff that you can apply yourself.

Re:DragonflyBSD 6.0 by mushufasa on Monday May 10, 2021 @02:12PM (#27109013)
yes. and I imagine those choices were more likely due to the permissive license than for any particular technical reason.
Re:DragonflyBSD 6.0 by jayp1418 on Monday May 10, 2021 @02:23PM (#27109158)
I don't think it was just license : https://klarasystems.com/articles/deep-diving-into-the-stren...

Otherwise they could have taken NetBSD, OpenBSD or other BSD

Re:DragonflyBSD 6.0 by 9front on Monday May 10, 2021 @02:10PM (#27108988)
Lots of older Dell switches run NetBSD as NOS. Newer ones use Linux.