diff options
Diffstat (limited to 'minit.c')
-rw-r--r-- | minit.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,13 @@ +/** + * minit.c - A minimal init; as stupid as it gets. + * + * Copyright (c) 2025 - Yaroslav de la Peña Smirnov <yps@yaroslavps.com> + * + * This is free software, which you can redistribute and/or modify under the + * terms of the GNU General Public License, version 2.0 only. For more + * information read the COPYING and LICENSE files provided in the original + * source repository. + */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -12,9 +22,12 @@ int main(int argc, char *argv[]) { if (argc < 2) { puts("usage: minit <command>"); + puts("more info: git.yaroslavps.com/minit/about/"); exit(1); } + puts("=== minit v1.0.0 ==="); + int rc = mount("proc", "/proc", "proc", 0, NULL); if (rc) puts("warning: unable to mount proc!"); |