From 7a98e998c5cda484611d19854649ab8535f503d4 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Tue, 14 Feb 2023 17:09:59 +0100 Subject: add simplet init system --- core/unmount.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 core/unmount.c (limited to 'core/unmount.c') diff --git a/core/unmount.c b/core/unmount.c new file mode 100644 index 0000000..81103d9 --- /dev/null +++ b/core/unmount.c @@ -0,0 +1,12 @@ +#include "../lib/io/io.h" +#include "../lib/sys/unmount.h" + +int main(int argc, char **argv) +{ + if (argc != 2) { + wff(STDERR_FD, "unmount \n"); + return -1; + } + + return unmount(argv[1], 9); +} -- cgit v1.2.3-70-g09d2