by goranmoomin on 9/7/22, 8:08 AM with 161 comments
by jmillikin on 9/8/22, 2:28 AM
> The primary commercial Unix implementation is nowadays Oracle Solaris.
Surely it's macOS? The total install base of Solaris must be a rounding error compared to the number of Macbooks sold daily.by dietrichepp on 9/8/22, 3:39 AM
Back in 2005 or 2006, I made a Linux that exported the filesystem this way, and it worked by mounting / as a network volume. This worked by doing a particular dance with "pivot_root" at the beginning and a union mount with a tmpfs volume. We used it to play LAN games in the computer lab. Because the network booting Linux didn't touch the local hard drive, you could clean up after yourself just by shutting down the machines. It was also nice and fast, because the machines all had gigabit ethernet and the file server was serving from cache most of the time. It ended up being noticeably better than running off local hard disk... this was the era before SSDs took over, obviously.
by gjadi on 9/8/22, 9:21 AM
The main difference is about static linking.
> /bin/ User utilities fundamental to both single and multi-user environments. These programs are statically compiled and therefore do not depend on any system libraries to run.
> /sbin/ System programs and administration utilities fundamental to both single and multi-user environments. These programs are statically compiled and therefore do not depend on any system libraries to run.
It was discussed a few month ago: https://news.ycombinator.com/item?id=31336396
by RustyRussell on 9/8/22, 4:23 AM
Though I responded in 2012, so it may be older (the log on the site says 2013 though).
FWIW, my response, as FHS editor:
by hulitu on 9/7/22, 8:49 PM
I don't know what this guy is smoking, but this has never been a problem.
by gladiatr72 on 9/7/22, 9:04 AM
<snort>
by jabl on 9/8/22, 5:38 AM
by kazinator on 9/8/22, 1:49 AM
/usr/bin -> /bin
One less path component to resolve.
by foxdie99 on 9/8/22, 2:16 PM
The Unix way will prevail. I am happy the BSDs continue with the philosophy. Old does not mean outdated and tradition does not mean backwards. One thing only and do it well.
by knorker on 9/8/22, 4:11 AM
> Improved compatibility with other Unixes/Linuxes in behavior:
Well, some of them.
> Improved compatibility with other Unixes (in particular Solaris) in appearance:
I guess, but if you supported Linux you already supported Solaris, so if you think of Solaris as second class then nothing gained.
Also: Solaris is (to me) clearly on its way out. Not worth a migration to converge with it.
> Improved compatibility with GNU build systems:
This one is pure hogwash. Either you need to support the systems that don't do this (e.g. OpenBSD), or you only care about Linux. (this is a bit simplified, but pretty true)
So your build system still needs to support non-merged.
Except now you're going to bake in Linux-specific merge assumptions into your build system, so that they'll be even more broken.
> Improved compatibility with current upstream development:
This seems more like tech debt to me, in the name of expedience.
I'm here not saying it shouldn't be done. I'm saying these are terrible reasons.
by noobermin on 9/8/22, 4:21 AM
I think even /usr/share can get its own directory, why not?
by tdeck on 9/8/22, 4:11 AM
by ch33zer on 9/8/22, 7:37 AM
https://lwn.net/Articles/773342/
tl;dr: Do the merge or don't but don't support both.
by elmacho39 on 9/8/22, 11:24 AM
make /usr home again.
by midislack on 9/8/22, 6:49 AM
by waynesonfire on 9/8/22, 10:50 AM
Since when are you so concerned about Unix compatibility as you push systemd?
by throwaway892238 on 9/8/22, 3:46 AM
- If you have your own system, with very tightly controlled specifications, you can make any change you want, and its impact will be easy to manage. When you change the specifications of random people's systems, random things happen. Doesn't matter what the change is. A file showing up where it didn't exist before, or being a symbolic link rather than a regular file, or duplicate files, will cause logic bugs.
- There isn't a single mention of any downside to this fundamental shift in the expectations of the filesystem of major distributions. Yet you can be guaranteed that this will break compatibility with some applications/systems. They still they make no attempt whatsoever to estimate this.
- It can't be stated enough that this is a Fedora / RedHat / Lennart Poettering thing. Quite frankly, anything they suggest should ring giant alarm bells. This group is singly responsible for every incompatible, over-designed, pain-in-the-ass change to Linux distributions in the past 10+ years. If it causes problems, and it didn't come from a hardware vendor, it came from these people.
- Who in the actual fuck cares about filesystem-level porting from Solaris?! If you're already dealing with all the rest of the portability issues, file paths are literally the very last and least-difficult consideration. "Oh no! In what directory will I find 'pkill' ?! It's so difficult!" Only a company obsessed with converting whales to their platform and want one more bullet point to add to their sales deck cares. I don't actually care if this goes through, but just the fact that RedHat is still shilling their unnecessary changes as if anyone else other than them wants it makes my skin scrawl.