a bare-minimum init
src | ||
svc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
config.toml | ||
Makefile | ||
README.md |
mini
mini is a minimal init system. It was created mainly for educational purposes as well as wanting to know if I were able to reduce my Arch boot time. You may use it at your own risk, it is not ready for any serious use (and will probably never be :)).
Install
- Clone this repo
cargo build
cp target/debug/mini /sbin/
- Create your services files if needed
- Edit the kernel command line and add
init=/sbin/mini
Developing
To ease development, I created a Makefile that will automatically compile and deploy latest version of mini on a QEMU VM. More details to come...