mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
SystemServer+Meta: Use the new SysFS
We make SystemServer to mount the new SysFS in /sys.
This commit is contained in:
parent
92c0dab5ab
commit
3d89938c4a
Notes:
sideshowbarker
2024-07-18 11:16:50 +09:00
Author: https://github.com/supercomputer7
Commit: 3d89938c4a
Pull-request: https://github.com/SerenityOS/serenity/pull/7509
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/awesomekling
2 changed files with 9 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue