News for hackers. Stuff that matters.
Re:Look up macOS system binaries by delta_p_delta_x on Tuesday July 22, 2025 @10:20PM (#44655151)
> also apparently illogical but standardised hierarchy of Linux and the BSDs

Hmm.

  /usr/bin
  /usr/sbin
  /bin
  /opt/bin
  ~/bin
  ~/.local/share/bin
  ~/opt/bin

  /include 
  /lib/include
  /usr/include
  /usr/lib/include
  /usr/lib/clang/include 
And many more. Some directories are symlinks to another. Some of these directories do not exist on some distributions.

Why are Linux people always so misguided and haughty?

Re:Look up macOS system binaries by qalmakka on Wednesday July 23, 2025 @03:06AM (#44656485)
What's so hard to understand about "apparently illogical but standardised"? I never said it was beautiful, I said that despite being dumb [^1] at least there is a standard for it (https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html). So yeah here are nonsensical directories like /opt, but at least they have a clear purpose, compared to the "well who cares, chuck it in there" approach NeXT/Apple had when tossing stuff around (sure, they've now "improved" that with SIP nowadays, but it's still a mess IMHO)

[1]: for instance, "usr" contains libraries only due to the first PDP7 at bell labs having two disks, the first mounted as /, the second as /usr (user). When they ran out of space under /, they replicated the filesystem structure in their user disk, thus the birth of /usr/bin and the like. When /usr got too cluttered they created /home (or /usr/home, don't recall which)