this post was submitted on 18 Apr 2024
1591 points (98.2% liked)

People Twitter

5220 readers
1906 users here now

People tweeting stuff. We allow tweets from anyone.

RULES:

  1. Mark NSFW content.
  2. No doxxing people.
  3. Must be a tweet or similar
  4. No bullying or international politcs
  5. Be excellent to each other.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

You can't bring up BSD and not finish the pedantic history of macOS. Leave it at "macOS is a UNIX" or get into the weeds.

macOS userland (i.e. terminal commands) is mostly FreeBSD with some stuff from other BSDs. However, the kernel is a separate project entirely and comes from NEXT (Steve Jobs' project when he briefly left Apple), which was based on the Mach microkernel. Both FreeBSD and Linux use monolithic kernels, and there's pretty much no shared heritage there with macOS. Also, macOS uses its own init (launchd), filesystems (HFS+), etc, and doesn't support the standard stuff in BSD (e.g. FreeBSD init, UFS, ZFS) or the standard stuff in Linux (e.g. sysvinit, systemd, ext4, etc).

The overlap between macOS and Linux is essentially zero other than some shared UNIX idioms and a few packages like bash. The overlap between macOS and FreeBSD is the userland, which most people don't interact with unless they're terminal nerds like me. The overlap is just the macOS borrowed a lot of open source stuff, it's not really based on FreeBSD at all.