this post was submitted on 03 May 2024
380 points (93.2% liked)

linuxmemes

20880 readers
5 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 59 points 6 months ago* (last edited 6 months ago) (3 children)

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] 32 points 6 months ago* (last edited 6 months ago) (2 children)

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

[–] [email protected] 13 points 6 months ago* (last edited 6 months ago) (1 children)

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

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago) (1 children)

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] 3 points 6 months ago

That's because UNIX is a trademark and OS vendors will have to pay fees to opengroup.org in order to call their OS Unix.

[–] [email protected] 12 points 6 months ago (1 children)

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".

[–] [email protected] 6 points 6 months ago (1 children)

UNIX(tm) 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] 9 points 6 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] 18 points 6 months ago (1 children)

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

[–] [email protected] 15 points 6 months ago (2 children)

everything is a file, except when it's not.

[–] [email protected] 10 points 6 months ago

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

[–] [email protected] 2 points 6 months ago* (last edited 6 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.