We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/proc
1 parent 260651c commit e043d80Copy full SHA for e043d80
source/kernel/C/shell/commands/mount.c
@@ -35,6 +35,10 @@ int cmd_mount(int argc, char** argv)
35
return 1;
36
37
procfs_init();
38
+
39
+ if(strcmp(mount_point, "/proc") != 0)
40
+ printf("mount: warning mounting \'proc\' on non-standard path.");
41
42
printf("mount: mounted " red_color "%s" reset_color " at \'%s\'", device, mount_point);
43
return 0;
44
}
0 commit comments