commit c96624b280b1e88fecaa9997c14fbf7abdf1e61f
parent dd8172defd4e949fecdb142325640e2961cd78aa
Author: Friedel Schoen <derfriedmundschoen@gmail.com>
Date: Wed, 28 Dec 2022 14:57:43 +0100
update readme.md
Diffstat:
M | readme.md | | | 30 | ++++++++++++++++++++++++++---- |
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/readme.md b/readme.md
@@ -1,6 +1,8 @@
-# DUALINIT
+# DualINIT
-> Work in progress
+A meta-init system for Linux to 'dualboot' multiple Linux distributions in user-space
+
+> Work in progress!
## Directory Structure
@@ -8,10 +10,11 @@
```
/
-├── boot/ (symlinked to /<master>/boot)
+├── boot/ (mounted to /<master>/boot)
│ ├── ...
│ ├── initramfs-x.x.img
│ └── vmlinuz-x.x
+├── lost+found/ (mounted to /<master>/lost+found)
├── dev/ (pseudo-fs)
├── etc/
│ └── dualinit.conf
@@ -19,5 +22,24 @@
├── sbin/
│ └── init
├── sys/ (pseudo-fs)
-└── <environments>/
+├── <environments>/
+└── ...
+```
+
+## Default Mounts
+
+```
+- /dev /dev rbind
+- / /dualinit bind
+proc proc /proc relatime
+tmpfs run /run mode=0755
+- /sys /sys rbind
+tmpfs tmp /tmp mode=1777,strictatime
+```
+
+### Master Mounts
+
+```
+/boot -> /<master>/boot
+/lost+found -> /<master>/lost+found
```