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:
parent
37cc80fb96
commit
66a0a12435
5 changed files with 188 additions and 45 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue