1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

SystemServer+Meta: Use the new SysFS

We make SystemServer to mount the new SysFS in /sys.
This commit is contained in:
Liav A 2021-03-13 12:02:34 +02:00 committed by Andreas Kling
parent 92c0dab5ab
commit 3d89938c4a
2 changed files with 9 additions and 0 deletions

View file

@ -91,6 +91,11 @@ static void prepare_devfs()
VERIFY_NOT_REACHED();
}
rc = mount(-1, "/sys", "sys", 0);
if (rc != 0) {
VERIFY_NOT_REACHED();
}
rc = mkdir("/dev/pts", 0755);
if (rc != 0) {
VERIFY_NOT_REACHED();