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