mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-19 16:51:52 +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
Notes:
sideshowbarker
2024-07-19 12:39:32 +09:00
Author: https://github.com/bugaevc
Commit: 66a0a12435
Pull-request: https://github.com/SerenityOS/serenity/pull/456
Reviewed-by: https://github.com/awesomekling ✅
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