From ef66e6f095d5a77ac233995f4e4bd754f34d9fd4 Mon Sep 17 00:00:00 2001 From: namilsk Date: Wed, 31 Dec 2025 22:43:32 +0300 Subject: Added `README.md` --- README.md | 18 ++++++++++++++++++ init/src/mounts/rescue.rs | 3 --- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..eb1b156 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# Vigil +Vigil is an init system (PID 1) developed for the Antrhill distribution and licensed under GPL2.0-only. + +The development is based on the Unix philosophy: +- **"Make each program do one thing well."** + - Doug McIlroy + +- **"Write programs that do one thing and do it well. Write programs to work together."** + - Peter H. Salus, summarizing Unix philosophy + +- **"The UNIX system is characterized by: [...] A unified view of I/O, and a hierarchical file system. A small number of kernel primitives, augmented by a rich set of user-level tools."** + - Ritchie & Thompson, «The UNIX Time-Sharing System» + +`vegil` strives to be indestructible, something that even in the case of most errors will boot you into the system. If not, then go to rescue mode with all the tools installed. + +# Development +This repo contains the source code of the `init` executable itself and `vegilctl`, for managing the initialization system. +At the moment, the init binary itself is a priority for development. \ No newline at end of file diff --git a/init/src/mounts/rescue.rs b/init/src/mounts/rescue.rs index ba058f4..84a8df1 100644 --- a/init/src/mounts/rescue.rs +++ b/init/src/mounts/rescue.rs @@ -2,9 +2,6 @@ use libc::{self}; use std::ffi::CString; use std::fs::create_dir; - - - pub fn mount_system() -> Result<(), Box> { let mounts: &[(&str, &str, Option<&str>)] = &[ ("/proc", "proc", None), -- cgit v1.2.3