aboutsummaryrefslogtreecommitdiff
path: root/core/unmount.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/unmount.c')
-rw-r--r--core/unmount.c12
1 files changed, 12 insertions, 0 deletions
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 <path>\n");
+ return -1;
+ }
+
+ return unmount(argv[1], 9);
+}