3 ms·
There is a comment on the LWN article about that: https://lwn.net/Articles/890306/ https://lwn.net/Articles/890306/ > First, technical challenges: HURD tried
by pabs3 5y ago
There is a comment on the LWN article about that:
https://lwn.net/Articles/890306/ https://lwn.net/Articles/890306/
> First, technical challenges: HURD tried to move from /usr to / and had quite a bit more trouble with it, and that trouble warned against trying it on a larger scale. It's much easier to move from / to /usr than from /usr to / ; fewer things break.
> Second, consolidation: moving into /usr gives us a single directory containing all files managed by the distro / package manager. This has quite a few advantages. It makes sharing /usr among several chroots or containers feasible (one /usr, different /etc and /var). It makes versioning and A/B upgrades (upgrade to new image, fall back to old image if new image doesn't boot) simpler and easier. It makes it easy to lock down /usr with something like fs-verity.
- ssl232 5y agoThe A/B system upgrade idea is intriguing. And kinda painfully obvious, in hindsight. Why don't the distros that have merged /usr do that already?
- pabs3 5y agoI think they do, Fedora's workstation product is meant as an appliance and I think it uses ostree to do something like the A/B upgrade thing. Some folks also do something similar using LVM, BTRFS or ZFS snapshots on various distros. Many users prefer the flexibility of package managers to appliance installs though, so having both types of installs is still a good idea.
- johnny22 5y agoit's not Workstation, it's Silverblue. Workstation is just like every other distro.
- deleted 5y ago[deleted]
- JoshTriplett 5y agoThe latest version of systemd has a tool for doing exactly that.