Add basic tools

This commit is contained in:
2026-10-18 18:27:34 +02:00
parent b567d8539c
commit b6ffd2c8c6
12 changed files with 638 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#include <stdio.h>
#include <sys/mount.h>
int main(int argc, char** argv) {
if (argc < 2) {
fprintf(stderr, "usage: %s <target>\n", argv[0]);
return 2;
}
if (unmount(argv[1], 0) != 0) {
perror("umount");
return 1;
}
return 0;
}