summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornamilsk <namilsk@namilsk.tech>2025-12-31 22:43:32 +0300
committernamilsk <namilsk@namilsk.tech>2025-12-31 22:43:32 +0300
commitef66e6f095d5a77ac233995f4e4bd754f34d9fd4 (patch)
treea32d9525587fa98620c113a7a2be4dd185f60253
parent2149a5581c4b4071020173bdf93f67cd1d225839 (diff)
Added `README.md`
-rw-r--r--README.md18
-rw-r--r--init/src/mounts/rescue.rs3
2 files changed, 18 insertions, 3 deletions
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<dyn std::error::Error>> {
let mounts: &[(&str, &str, Option<&str>)] = &[
("/proc", "proc", None),