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.

  • Scoopta@programming.dev
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    2 months ago

    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

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    You won’t really find anything since the kernel dictates a huge amount about how the OS behaves. If you look at the differences of Linux to other OSes, most of them are in the kernel.

    Android is still very Unix-like in its userspace. I think probably the biggest thing you can change is to ditch the archaic /bin, /usr, etc. filesystem. Android and NixOS both sort of do that.

  • 404@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    What exactly do you mean by a “non-unixlike OS”? Like, do you just want an OS that does not require any knowledge of Unix from the start?

    If you’d list a few “unixlike” features you’d like to avoid I’m sure we’d be able to find something that fits you.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    There are a ton. It is used heavily in all sorts of places. Everything from your fridge to your car has Linux.

  • BB_C@programming.dev
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    2 months ago

    Now that others got all the technicalities out of the way, maybe ChromeOS/ChromiumOS would be something along the lines of what you’re looking for? not that anyone should choose to daily-drive it.