this post was submitted on 23 Feb 2025
11 points (78.9% liked)

Linux

6127 readers
792 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

To clear it up I am referring to just the kernel. You can set anything you'd like as PID 1 so we can have a non-unixlike userland. For example, some users set their kernel to boot directly into Emacs, without an init system.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 19 points 1 day ago* (last edited 1 day ago) (9 children)

Define what you mean by non-unix like? Android is Unix like, it hides it from the user but the NDK is still a Unix like API, all devices have a POSIX shell /system/bin/sh installed which can be accessed via a terminal emulator app or using adb. The filesystem structure is different than most systems but there's still a /dev, /etc, /bin, and /proc. Not to mention one of the most unixy designs being the fork() call which android uses as the basis of all app processes. What I mean is Android has a parent process containing all the basic stuff an app needs called zygote which is then forked to become an app processes when an app is launched and then the rest of the app stuff is loaded into that new process, an exec to fully replace the parent is not done. That's a very unixy design decision that isn't usually available on other systems.

Technically speaking if we're going by the hides it from the user perspective then the steam deck qualifies to the same extent. It's hidden until a power user doesn't want it to be

[–] amon 4 points 1 day ago (1 children)

Sorry, looks like I did not do my research. We can scratch Android off as an example then.

[–] [email protected] 2 points 23 hours ago

What do you want? Everything Linux is Unix like

load more comments (7 replies)