summaryrefslogtreecommitdiff
path: root/src/user/lib/fs
diff options
context:
space:
mode:
authordzwdz2023-01-25 19:22:18 +0100
committerdzwdz2023-01-25 19:22:18 +0100
commit2ad6ee8ed15d1bf898645a16dbc06991a3c1425e (patch)
tree9e9d50d7447da03a0ff898bf9b268d26ef343702 /src/user/lib/fs
parent2a2fc4dffe0117ce874a6cf1dcc34321ed8add77 (diff)
user: process titles, /bin/ps
Diffstat (limited to 'src/user/lib/fs')
-rw-r--r--src/user/lib/fs/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user/lib/fs/misc.c b/src/user/lib/fs/misc.c
index 11428b8..ee0b54c 100644
--- a/src/user/lib/fs/misc.c
+++ b/src/user/lib/fs/misc.c
@@ -233,11 +233,13 @@ bool mount_at_pred(const char *path) {
if (!fork2_n_mount(path)) {
/* child -> go into the for body */
_klogf("%s: impl", path);
+ setproctitle("i'%s'", path);
return true;
}
if (strcmp("/", path) && !fork2_n_mount("/")) {
_klogf("%s: dir", path);
+ setproctitle("d'%s'", path);
fs_dir_inject(path);
exit(1);
}