> What are my options? Is there any Linux distro that uses something like my scheme? Can some distro be modified to work like I want it (Gentoo??) or do I need LFS? Is there any prior art in this area? Like publications on if the scheme is feasible or unfeasible?
> 
> Not looking for OS X. :) But OS X-inspired is totally ok.

##### All

---

I've provided a list at [this Software Recommendations SE answer](https://softwarerecs.stackexchange.com/a/90902/73901):

<blockQuote>

##### **Compliant**

---

**Name** | **Version** |
--------------------------------|-------------------------------------|
Arch Linux | >= 2024.07.01 | 
SUSE Linux Enterprise | >= 15.4 | 
Red Hat Enterprise Linux (RHEL) | >= 9 | 
Fedora | >= 40 | 
Ubuntu | >= 24.04 | 
Debian | >= 12 (Bookworm) [^Debian_citation] | 
openSUSE Tumbleweed | |

##### **Non-Compliant**

---


**Name** | **Version**
---------------------------------------|------------
GoboLinux | <= 017
NixOS | <= 24.05
The Android Open Source Project (AOSP) | <= 14 [^AOSP_citation]

</blockQuote>

I've duplicated the content because the question asked is more broad - not solely about Linux-based OSes, so I removed the unnecessary kernel column.

##### Verification Example

---

The hierarchy of the AOSP filesystem is similar to what you have described, because each package is isolated within `/data`.



https://developer.android.com/training/data-storage demonstrates this. However, should you want to confirm:

1. * Outside the OS:

 ```sh
 adb
 ```

 * Alternatively, from within AOSP:

 ```sh
 shell
 ```
1. ```sh
 tree
 ```

provides evidence that superuser access is available.

[^Debian_citation]: https://wiki.debian.org/FilesystemHierarchyStandard?action=recall&rev=39#:~:text=In%20addition%20to%20the%20directory%20structure%20described%20in%20the%20FHS%2C%20the%20following%20directories%20can%20be%20found%20on%20Debian%20systems:
[^AOSP_citation]: https://developer.android.com/training/data-storage