1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 18:35:07 +00:00

DevPtsFS: Do not assume there is one of it

Unfortunately, that also means it can no longer inherit from SynthFS.
This commit is contained in:
Sergey Bugaev 2019-08-16 18:46:18 +03:00 committed by Andreas Kling
parent 37cc80fb96
commit 66a0a12435
5 changed files with 188 additions and 45 deletions

View file

@ -122,7 +122,10 @@ VFS* vfs;
auto procfs = ProcFS::create();
procfs->initialize();
vfs->mount(procfs, "/proc");
vfs->mount(DevPtsFS::the(), "/dev/pts");
auto devptsfs = DevPtsFS::create();
devptsfs->initialize();
vfs->mount(devptsfs, "/dev/pts");
auto tmpfs = TmpFS::create();
if (!tmpfs->initialize())