dualinit

A meta-init system for linux
Log | Files | Refs | LICENSE

commit 60106acc23565707869550402bc4466fc1f45f51
parent db79a7a28d1a63de687631eb19a8e428570142e7
Author: Friedel Schoen <[email protected]>
Date:   Thu, 29 Dec 2022 00:42:34 +0100

add default dualinit.conf + documentation

Diffstat:
Adocs/dualinit.conf | 36++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+), 0 deletions(-)

diff --git a/docs/dualinit.conf b/docs/dualinit.conf @@ -0,0 +1,36 @@ +; if dualinit should print colored info +color true + +; if dualinit should print debug info +verbose true + +; global mountpoints, no matter which section is loaded +; these are required for linux to function +mount + ; /dualinit mountpoint to configure dualinit within a loaded system + - / /dualinit bind + ; /proc is a pseudo-filesystem with process-information etc. + proc proc /proc relatime + ; /run is a dictionary used by many services + tmpfs run /run mode=0755 + ; /tmp is a dictionary for temporary files + tmpfs tmp /tmp mode=1777,strictatime +end + +; shares /dev and /sys with each section +; /dev contains all devices +; /sys contains kernel-specific files +; /lost+found is a ext-feature, containing loose files picked up by fsck +; ('*' indicates it's not mandatory and will only throw a warning) +rshare /dev /sys */lost+found + +; these is an example section, here with voidlinux +; obviously you can call it whatever you want, so the target dictionary +section voidlinux /voidlinux + ; shares /boot to configure the kernel bootloader + ; it's section-specific so different distributes won't conflict + share /boot + + ; specifies the init-executable, defaults to /sbin/init + init /sbin/init +end