Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is not correct. He is counting ChromeOS as its own but in fact ChromeOS is Linux. Then he should count RHEL, Ubuntu, Lubuntu and so on also.


ChromeOS uses the Linux kernel and it is not exposed to the ChromeOS userspace, where only Web Platform is allowed.

If you so desired, you can enable Linux support, which will run a Linux container just like WSL on Windows, for the Crostini environment.

If that counts, Windows, IBM mainframe/micros, and Unisys mainframe/micros are also Linux.


You can't take a binary compiled for Linux and plop on a ChromeOS installation and expect it to run. It works currently because ChromeOS runs Linux applications in a lightweight VM with a Debian environment.

Given that, I wouldn't count ChromeOS as Linux, because if we do, by that logic, we'd have to count Windows as Linux due to WSL.


You can't take a binary running in Alpine and run it in Debian. Even if it is statically linked.

But you can ( with some effort ) make it run in ChromeOS.


Huh? I do that all the time (run Alpine compiled exes on other distros). I use an Alpine Docker image to build statically linked exes (using MUSL as libc) which are distro agnostic since they don't depend on glibc. Works just fine (for command line tools at least).


I'd love to see an example of this.

I often compile things inside Alpine containers statically and run them on my local machine, and plenty of times I've downloaded deb packages, extracted them on a raspberry pi running Alpine and it's ran fine (assuming glibc compatibility is set up.


This is the first time I'm hearing this. Don't they both use ELF? Where can I read more on this?


New syscalls may be unavailable on distributions that use old kernels. It is probably possible to tell whatever libc you use to avoid fancy syscalls, but still there may be problems. Note that the other way should work (from old kernel to new)


Linux is the kernel. There is more to an OS than that and the classification of what is an OS and a flavour of an OS is arbitrary.

"Different enough", I guess is the mark.

E.g. "Ubuntu is a reskin of Debian with spyware"


With that logic, Why not count BSD as one? Linux is the kernel, but Debian has Gnu/HURD also.

Linux in that list is flavour, but that is also the same with BSD. BSD is the flavour and Free, Net, Open all come from BSD 4.3. And if we really want to push it, it also includes MacOS 10.

https://i.imgur.com/RgkVBgR.png


The BSDs have diverged significantly since then and not just in userland. Unlike Linux distros they do not all have the same kernel. There are of course common parts in their kernels, many of which date back to Unix, but there are also big differences between all of them.

I was also surprised to see Sailfish OS, Meego and Maemo listed separate from Linux, but my guess would be that the list comes from the build system of curl. Everything that is its own build target is listed there.


Obviously, Metallica is not really metal ...


I still remember the uproar when they decided Metalheads can also use short hair, so...


How about Android? It is also Linux.


And we can't forget about Windows of course! With WSL it's basically Linux with a bunch of Windows cruft added on.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: