mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
SystemServer: Mount TmpFS on /dev instead of DevTmpFS
In the next commit, we will drop the DevTmpFS code for good, so we need to mount a TmpFS instance on /dev instead of DevTmpFS.
This commit is contained in:
parent
c2b5c5bac5
commit
4c15915e40
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ static ErrorOr<void> prepare_synthetic_filesystems()
|
|||
// FIXME: Find a better way to all of this stuff, without hardcoding all of this!
|
||||
TRY(Core::System::mount(-1, "/proc"sv, "proc"sv, MS_NOSUID));
|
||||
TRY(Core::System::mount(-1, "/sys"sv, "sys"sv, 0));
|
||||
TRY(Core::System::mount(-1, "/dev"sv, "dev"sv, 0));
|
||||
TRY(Core::System::mount(-1, "/dev"sv, "tmp"sv, MS_NOSUID | MS_NOEXEC));
|
||||
|
||||
TRY(Core::System::mkdir("/dev/audio"sv, 0755));
|
||||
TRY(Core::System::mkdir("/dev/input"sv, 0755));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue