mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
Add a /dev/pts filesystem and make PTY allocation dynamic.
You can now open as many PTY pairs as you like. Well, it's actually capped at 8 for now, but it's just a constant and trivial to change. Unregistering a PTY pair is untested because I didn't want to start mucking with that in Terminal right now.
This commit is contained in:
parent
c30e2c8d44
commit
e9b948103d
12 changed files with 124 additions and 20 deletions
|
@ -11,14 +11,7 @@ mknod mnt/dev/tty3 c 4 3
|
|||
mknod mnt/dev/keyboard c 85 1
|
||||
mknod mnt/dev/psaux c 10 1
|
||||
mknod mnt/dev/ptmx c 5 2
|
||||
mknod mnt/dev/ptm0 c 10 0
|
||||
mknod mnt/dev/ptm1 c 10 1
|
||||
mknod mnt/dev/ptm2 c 10 2
|
||||
mknod mnt/dev/ptm3 c 10 3
|
||||
mknod mnt/dev/pts0 c 11 0
|
||||
mknod mnt/dev/pts1 c 11 1
|
||||
mknod mnt/dev/pts2 c 11 2
|
||||
mknod mnt/dev/pts3 c 11 3
|
||||
mkdir mnt/dev/pts
|
||||
mknod mnt/dev/gui_events c 66 1
|
||||
cp -R ../Base/* mnt/
|
||||
cp -v ../Userland/sh mnt/bin/sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue