Alt text: meme with the ‘Always has been’ format Linux, MacOS, OpenBSD and ChromeOS logos on top of the Earth The first astronaut says ‘Wait, it’s all Unix?’ A Windows logo, on top of the second astronaut. The second astronaut says ‘Always has been’ and points a gun to the first astronaut.

  • dadarobot
    link
    fedilink
    59
    edit-2
    2 months ago

    Linux is unix-like, and not from the same family really. ChromeOS is based on linux, so similarly unix-like. Mac is Darwin, which is actually unix. Also all BSDs are unix

    • @[email protected]
      link
      fedilink
      32
      edit-2
      2 months ago

      BSD is also unix-like. Quoting OpenBSD, “[OpenBSD] produces a FREE , multi-platform 4.4BSD-based UNIX-like operating system.”

      • Rustmilian
        link
        fedilink
        English
        13
        edit-2
        2 months ago

        The OG Berkeley Software Distribution (BSD) is a direct descendant of Unix. I personally wouldn’t qualify this particular version as a “Unix-like”.

        • dadarobot
          link
          fedilink
          5
          edit-2
          2 months ago

          Yeah, reading these comments, it looks like they are not legally able to call it unix, despite having direct lineage. Linux however is a complete re-write, making it more obviously not proper unix by most definitions.

      • @[email protected]
        link
        fedilink
        122 months ago

        Nice to know, I’ve always thought BSD is actually UNIX.

        The BSD variants are descendants of UNIX developed by the University of California at Berkeley, with UNIX source code from Bell Labs. However, the BSD code base has evolved since then, replacing all the AT&T code. Since the BSD variants are not certified as compliant with the Single UNIX Specification, they are referred to as “UNIX-like” rather than “UNIX”.

        • lemmyreader
          link
          fedilink
          English
          62 months ago

          UNIX™ is a trademark name (Think of e.g. IBM AIX, HP-UX, SunOS). Linux and BSD are Unix alike. I believe that Apple has made an effort to be entitled to call an OS of theirs UNIX, not sure whether it’s Darwin or something else.

          • @[email protected]
            link
            fedilink
            92 months ago

            UNIX is trademarked by ‘The Open Group’, Unix is not. 🙃

            To make things more confusing, according to German Wikipedia, Unix is used for Unix-like OSes which are not officially UNIX-certified. 😵‍💫

    • @[email protected]
      link
      fedilink
      182 months ago

      The weird thing about macOS is, that while it is certified UNIX, its XNU kernel literally stands for “X is Not Unix”

      • Rustmilian
        link
        fedilink
        English
        102 months ago

        Everything is represented by a file, doesn’t mean you can open it with a text editor.

      • @[email protected]
        link
        fedilink
        English
        2
        edit-2
        2 months ago

        More like file descriptor. File path is like address system, but it’s not how you get all file descriptors. For example: sockets (there is bash’s fake /dev/{tcp,udp}), epoll, timer, event, inotify.

        In UNIX systems event systems have a list of filedescriptors with a callback for each. You could have your event loop an epoll fd itself and nest it in another.